AnalysisWarningBaseCollection.Item Property
Gets the AnalysisWarningBase object at the specified index within AnalysisWarningBaseCollection.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As AnalysisWarningBase
'Usage
Dim instance As AnalysisWarningBaseCollection
Dim index As Integer
Dim value As AnalysisWarningBase
value = instance.Item(index)
public AnalysisWarningBase this[
int index
] { get; }
public:
property AnalysisWarningBase^ Item[int index] {
AnalysisWarningBase^ get (int index);
}
JScript does not support indexed properties.
Parameters
index
Type: System.Int32The zero-based index of the AnalysisWarningBase object to get.
Property Value
Type: System.Windows.Ink.AnalysisCore.AnalysisWarningBase
The AnalysisWarningBase object at the specified index within AnalysisWarningBaseCollection.
Remarks
You can gain access to Item by using the collection's indexer as shown in the example.
Examples
The following example shows how to access the first warning in an AnalysisWarningBaseCollection named warnings.
Dim firstWarning As AnalysisWarningBase = warnings(0)
AnalysisWarningBase firstWarning = warnings[0];
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
AnalysisWarningBaseCollection Class