ReferralCollection.Item Property

Gets a Referral object with a specific RefId from the ReferralCollection containing it.

Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim referralCollection1 As ReferralCollection

Dim key As Uri
Dim returnValue As Referral
returnValue = referralCollection1.Item(key)

Syntax

'Declaration
Public ReadOnly Property Item( _
    ByVal refId As Uri _
) As Referral
public Referral this[
    Uri refId
] {get;}
public:
property Referral^ default[Uri^] {
    Referral^ get(Uri^ refId);
}
public Referral get_Item(
    Uri refId
);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

  • refId
    A unique identifier for a Referral object.

Property Value

A Referral object corresponding to refId.

Exceptions

Exception type Condition
ArgumentNullException

refid is null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

ReferralCollection Class
ReferralCollection Members
Microsoft.Web.Services3.Referral Namespace