Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function Contains ( _
shape As ShapeElement _
) As Boolean
'使用
Dim instance As ShapeModelingCollection
Dim shape As ShapeElement
Dim returnValue As Boolean
returnValue = instance.Contains(shape)
public virtual bool Contains(
ShapeElement shape
)
public:
virtual bool Contains(
ShapeElement^ shape
)
public function Contains(
shape : ShapeElement
) : boolean
Parameters
Return Value
Type: System.Boolean
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.