Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Function IndexOf ( _
value As CommandID _
) As Integer
'使用
Dim instance As CommandIdCollection
Dim value As CommandID
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
CommandID value
)
public:
int IndexOf(
CommandID^ value
)
public function IndexOf(
value : CommandID
) : int
Parameters
- value
Type: System.ComponentModel.Design.CommandID
Return Value
Type: System.Int32
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.