UriList.Item Property

Gets a System.Uri object at a specific index from the current UriList .

Namespace: Microsoft.Web.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim uriList1 As UriList

Dim key As Integer
Dim returnValue As Uri
returnValue = uriList1.Item(key)

Dim sampleValue As Uri
uriList1.Item(key) = sampleValue

Syntax

'Declaration
Public Property Item( _
    ByVal index As Integer _
) As Uri
public Uri this[
    int index
] {get; set;}
public: property Uri^ Item{
    Uri^ get();
    Void set(Uri^);
}
public Uri get_Item(
    int index
);
public void set_Item(
    int index
Uri);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

  • index
    The zero-based index of the Uri to retrieve.

Property Value

A System.Uri object residing in a specific index from the current UriList .

Exceptions

Exception type Condition
System.ArgumentOutOfRangeException

indexis smaller than 0 or larger that the total number of System.Uri in the current UriList .

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

UriList Class
Microsoft.Web.Services2 Namespace

Other Resources

UriList Members