Partager via


ReferralCollection.Contains Method (Uri)

Checks if the ReferralCollection contains a Referral with a specified RefId.

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

Usage

'Usage
Dim refId As Uri
Dim returnValue As Boolean
Dim referralCollection1 As ReferralCollection
returnValue = referralCollection1.Contains(refId)

Syntax

'Declaration
Overloads Public Function Contains( _
    ByVal refId As Uri _
) As Boolean
public bool Contains(
    Uri refId
);
public:
bool Contains(
    Uri^ refId
);
public boolean Contains(
    Uri refId
);
public function Contains(
     refId : Uri
) : Boolean;

Parameters

  • refId
    A unique identifier for a Referral in the form of a URI.

Return Value

true if the ReferralCollection contains a Referral corresponding to the refId; otherwise, false.

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