Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub New ( _
shape As ShapeElement _
)
'使用
Dim shape As ShapeElement
Dim instance As New DiagramItem(shape)
public DiagramItem(
ShapeElement shape
)
public:
DiagramItem(
ShapeElement^ shape
)
public function DiagramItem(
shape : ShapeElement
)
Parameters
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.