SelectionStateCollection.IndexOf Method

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

Syntax

'宣言
Public Function IndexOf ( _
    value As SelectionState _
) As Integer
'使用
Dim instance As SelectionStateCollection
Dim value As SelectionState
Dim returnValue As Integer

returnValue = instance.IndexOf(value)
public int IndexOf(
    SelectionState value
)
public:
int IndexOf(
    SelectionState^ value
)
public function IndexOf(
    value : SelectionState
) : int

Parameters

Return Value

Type: System.Int32

Permissions

See Also

Reference

SelectionStateCollection Class

SelectionStateCollection Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace