Share via


UriList.Contains Method

Checks if a specific Uri exists in a UriList.

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

Usage

'Usage
Dim uri As Uri
Dim returnValue As Boolean
Dim uriList1 As UriList
returnValue = uriList1.Contains(uri)

Syntax

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

Parameters

  • uri
    The Uri object for which the UriList is checked.

Exceptions

Exception type Condition
ArgumentNullException

uri 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

UriList Class
UriList Members
Microsoft.Web.Services3 Namespace