Share via


AnalysisWarningCollection.Count Property

Gets the number of AnalysisWarning objects contained in the AnalysisWarningCollection.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As AnalysisWarningCollection 
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 AnalysisWarning objects contained in the AnalysisWarningCollection.

Implements

ICollection.Count

Examples

The following example finds the number of AnalysisWarning objects contained in the AnalysisWarningCollection, warnings.

Dim nWarnings As Integer = warnings.Count
           int nWarnings = warnings.Count;

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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

AnalysisWarningCollection Class

AnalysisWarningCollection Members

Microsoft.Ink Namespace