ShapeField.GetAccessibleState Method
Gets the state of the shape field for the accessible object.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable Function GetAccessibleState ( _
parentShape As ShapeElement, _
diagramClientView As DiagramClientView _
) As AccessibleStates
public virtual AccessibleStates GetAccessibleState(
ShapeElement parentShape,
DiagramClientView diagramClientView
)
public:
virtual AccessibleStates GetAccessibleState(
ShapeElement^ parentShape,
DiagramClientView^ diagramClientView
)
abstract GetAccessibleState :
parentShape:ShapeElement *
diagramClientView:DiagramClientView -> AccessibleStates
override GetAccessibleState :
parentShape:ShapeElement *
diagramClientView:DiagramClientView -> AccessibleStates
public function GetAccessibleState(
parentShape : ShapeElement,
diagramClientView : DiagramClientView
) : AccessibleStates
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element to which the shape field is assigned.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The view the accessible object is for.
Return Value
Type: System.Windows.Forms.AccessibleStates
The state of the shape field for the accessible object.
.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.