ShapeModelingCollection.IndexOf Method

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

Syntax

'宣言
Public Overridable Function IndexOf ( _
    shape As ShapeElement _
) As Integer
'使用
Dim instance As ShapeModelingCollection
Dim shape As ShapeElement
Dim returnValue As Integer

returnValue = instance.IndexOf(shape)
public virtual int IndexOf(
    ShapeElement shape
)
public:
virtual int IndexOf(
    ShapeElement^ shape
)
public function IndexOf(
    shape : ShapeElement
) : int

Parameters

Return Value

Type: System.Int32

Permissions

See Also

Reference

ShapeModelingCollection Class

ShapeModelingCollection Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace