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
- index
Type: System.Int32
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectionState
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SelectionStateCollection Class