ListField.GetItemCount Method
Gets the number of items in this list field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function GetItemCount ( _
parentShape As ShapeElement _
) As Integer
public int GetItemCount(
ShapeElement parentShape
)
public:
int GetItemCount(
ShapeElement^ parentShape
)
member GetItemCount :
parentShape:ShapeElement -> int
public function GetItemCount(
parentShape : ShapeElement
) : int
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement to which this ShapeField belongs
Return Value
Type: System.Int32
.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.