Share via


ViaCollection.Item Property

Gets or sets the item at a specified position in the collection.

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

Usage

'Usage
Dim viaCollection1 As ViaCollection

Dim key As Integer
Dim returnValue As Via
returnValue = viaCollection1.Item(key)

Dim sampleValue As Via
viaCollection1.Item(key) = sampleValue

Syntax

'Declaration
Public Property Item( _
    ByVal index As Integer _
) As Via
public Via this[
    int index
] {get; set;}
public:
property Via^ default[int] {
    Via^ get(int index);
    void set(int index, Via^ value);
}
public Via get_Item(
    int index
);
public void set_Item(
    int index
Via);
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 item in the collection.

Property Value

The Via at the specified position in the collection.

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

ViaCollection Class
ViaCollection Members
Microsoft.Web.Services3.Referral Namespace