Count Property
See Also 
SourceCode.SmartObjects.Authoring Namespace > AssociationDefinitionCollection Class : Count Property



Glossary Item Box

Gets the number of elements contained in the System.Collections.ReadOnlyCollectionBase instance.

Syntax

Visual Basic (Declaration) 
Public Overrides ReadOnly Property Count As Integer
Visual Basic (Usage)Copy Code
Dim instance As AssociationDefinitionCollection
Dim value As Integer
 
value = instance.Count
C# 
public override int Count {get;}
C++/CLI 
public:
property int Count {
   int get() override;
}

Property Value

The number of elements contained in the System.Collections.ReadOnlyCollectionBase instance.Retrieving the value of this property is an O(1) operation.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also