Share via


PropertyViewer.PropertyItemCollection.Item Property

Gets or sets the element at the specified index.

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

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As PropertyViewer..::..PropertyItem
    Get
    Set
'Usage
Dim instance As PropertyViewer..::..PropertyItemCollection
Dim index As Integer
Dim value As PropertyViewer..::..PropertyItem

value = instance(index)

instance(index) = value
public PropertyViewer..::..PropertyItem this[
    int index
] { get; set; }
public:
virtual property PropertyViewer..::..PropertyItem^ default[int index] {
    PropertyViewer..::..PropertyItem^ get (int index) sealed;
    void set (int index, PropertyViewer..::..PropertyItem^ value) sealed;
}
abstract Item : PropertyViewer..::..PropertyItem with get, set
override Item : PropertyViewer..::..PropertyItem with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    Type: System.Int32
    The zero-based index of the element to get or set.

Property Value

Type: Microsoft.SqlServer.Management.Controls.PropertyViewer.PropertyItem
The element at the specified index.

Implements

IList<T>.Item[Int32]