CommandIdCollection.IndexOf Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function IndexOf ( _
value As CommandID _
) As Integer
public int IndexOf(
CommandID value
)
public:
int IndexOf(
CommandID^ value
)
member IndexOf :
value:CommandID -> int
public function IndexOf(
value : CommandID
) : int
Parameters
- value
Type: System.ComponentModel.Design.CommandID
Return Value
Type: System.Int32
.NET Framework Security
- 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.