ShapeAccessibleObject Constructor
Initializes a new instance of the ShapeAccessibleObject class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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.ShapeElementThe ShapeElement to represent.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe 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.