UriList.Item Property
Gets a Uri object at a specific index from the current UriList.
Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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^ default[int] {
Uri^ get(int index);
void set(int index, Uri^ value);
}
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 Uri object residing in a specific index from the current UriList.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | index is smaller than 0 or larger that the total number of 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 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
UriList Class
UriList Members
Microsoft.Web.Services3 Namespace