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, _
field As ShapeField _
)
'使用
Dim shape As ShapeElement
Dim field As ShapeField
Dim instance As New DiagramItem(shape, field)
public DiagramItem(
ShapeElement shape,
ShapeField field
)
public:
DiagramItem(
ShapeElement^ shape,
ShapeField^ field
)
public function DiagramItem(
shape : ShapeElement,
field : ShapeField
)
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.