PropertyCollection.Item Property (Int32)

Gets an object in the collection by index number.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Property
    Get
'Usage
Dim instance As PropertyCollection
Dim index As Integer
Dim value As [Property]

value = instance(index)
public Property this[
    int index
] { get; }
public:
property Property^ default[int index] {
    Property^ get (int index);
}
member Item : Property
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    Type: System.Int32
    An Int32 value that specifies the position of the object in the collection.

Property Value

Type: Microsoft.SqlServer.Management.Smo.Property
An object value that represents the property.