Gets the number of Accessibility objects that are assigned to the parent shape field and its child shape fields.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetAccessibleChildCount ( _
parentShape As ShapeElement _
) As Integer
'使用
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim returnValue As Integer
returnValue = instance.GetAccessibleChildCount(parentShape)
public virtual int GetAccessibleChildCount(
ShapeElement parentShape
)
public:
virtual int GetAccessibleChildCount(
ShapeElement^ parentShape
)
public function GetAccessibleChildCount(
parentShape : ShapeElement
) : int
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape element to which the shape field is assigned.
Return Value
Type: System.Int32
The number of Accessibility objects that are assigned to the parent shape field and its child shape fields.
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.