SelectionStateCollection.Item Property

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Default Property Item ( _
    index As Integer _
) As SelectionState
'使用
Dim instance As SelectionStateCollection
Dim index As Integer
Dim value As SelectionState

value = instance(index)

instance(index) = value
public SelectionState this[
    int index
] { get; set; }
public:
property SelectionState^ default[int index] {
    SelectionState^ get (int index);
    void set (int index, SelectionState^ value);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectionState

Permissions

See Also

Reference

SelectionStateCollection Class

SelectionStateCollection Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace