共用方式為


ShapeModelingCollection.Contains Method

Determines whether a ShapeElement is in the collection.

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 Contains ( _
    shape As ShapeElement _
) As Boolean
public virtual bool Contains(
    ShapeElement shape
)
public:
virtual bool Contains(
    ShapeElement^ shape
)
abstract Contains : 
        shape:ShapeElement -> bool 
override Contains : 
        shape:ShapeElement -> bool 
public function Contains(
    shape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ShapeModelingCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace