ReferralCollection.Contains Method (Uri)
Checks if the ReferralCollection contains a Referral with a specified RefId .
Namespace: Microsoft.Web.Services2.Referral
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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: Boolean 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 |
|---|---|
| System.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 Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
ReferralCollection Class
Microsoft.Web.Services2.Referral Namespace