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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Overridable Function GetAccessibleChildCount ( _
parentShape As ShapeElement _
) As Integer
public virtual int GetAccessibleChildCount(
ShapeElement parentShape
)
public:
virtual int GetAccessibleChildCount(
ShapeElement^ parentShape
)
abstract GetAccessibleChildCount :
parentShape:ShapeElement -> int
override GetAccessibleChildCount :
parentShape:ShapeElement -> int
public function GetAccessibleChildCount(
parentShape : ShapeElement
) : int
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The 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.
.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.