ShapeAccessibleObject Constructor
Initializes a new instance of the ShapeAccessibleObject class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
shape As ShapeElement, _
diagramClientView As DiagramClientView _
)
public ShapeAccessibleObject(
ShapeElement shape,
DiagramClientView diagramClientView
)
public:
ShapeAccessibleObject(
ShapeElement^ shape,
DiagramClientView^ diagramClientView
)
new :
shape:ShapeElement *
diagramClientView:DiagramClientView -> ShapeAccessibleObject
public function ShapeAccessibleObject(
shape : ShapeElement,
diagramClientView : DiagramClientView
)
Parameters
- shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement to represent.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The view the accessible object is for.
.NET Framework Security
- 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.