Share via


ContextLinkBaseCollection.Count Property

Gets the number of ContextLinkBase objects that are contained in the ContextLinkBaseCollection.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As ContextLinkBaseCollection 
Dim value As Integer 

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
public final function get Count () : int

Property Value

Type: System.Int32
The number of ContextLinkBase objects that are contained in the ContextLinkBaseCollection.

Implements

ICollection.Count

Examples

The following example gets the number of links in a ContextLinkBaseCollection, links.

Dim nLinks As Integer = links.Count
int nLinks = links.Count;

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ContextLinkBaseCollection Class

ContextLinkBaseCollection Members

System.Windows.Ink.AnalysisCore Namespace