共用方式為


ShapeModelingCollection.IndexOf Method

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

Syntax

'宣告
Public Overridable Function IndexOf ( _
    shape As ShapeElement _
) As Integer
public virtual int IndexOf(
    ShapeElement shape
)
public:
virtual int IndexOf(
    ShapeElement^ shape
)
abstract IndexOf : 
        shape:ShapeElement -> int 
override IndexOf : 
        shape:ShapeElement -> int 
public function IndexOf(
    shape : ShapeElement
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ShapeModelingCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace