ShapeField.GetAccessibleChildCount Method

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

Return Value

Type: System.Int32

The number of Accessibility objects that are assigned to the parent shape field and its child shape fields.

Permissions

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace