Gets the Accessibility object for the child shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetAccessibleChild ( _
parentShape As ShapeElement, _
index As Integer _
) As ShapeSubField
'使用
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim index As Integer
Dim returnValue As ShapeSubField
returnValue = instance.GetAccessibleChild(parentShape, _
index)
public virtual ShapeSubField GetAccessibleChild(
ShapeElement parentShape,
int index
)
public:
virtual ShapeSubField^ GetAccessibleChild(
ShapeElement^ parentShape,
int index
)
public function GetAccessibleChild(
parentShape : ShapeElement,
index : int
) : ShapeSubField
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent shape field of the child shape field.
index
Type: System.Int32The index that is assigned to the child shape field.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
The Accessibility object for the child shape field.
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.