DivisionUnits.Item Property
Gets the DivisionUnit object at the specified index within the DivisionUnits collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As DivisionUnit
'Usage
Dim instance As DivisionUnits
Dim index As Integer
Dim value As DivisionUnit
value = instance.Item(index)
public DivisionUnit this[
int index
] { get; }
public:
property DivisionUnit^ Item[int index] {
DivisionUnit^ get (int index);
}
JScript does not support indexed properties.
Parameters
index
Type: System.Int32The zero-based index of the DivisionUnit object to get.
Property Value
Type: Microsoft.Ink.DivisionUnit
The DivisionUnit object at the specified index within the DivisionUnits collection.
Remarks
An System.ArgumentOutOfRangeException is thrown if the index does not match an existing member of the DivisionUnits collection.
Note
In C#, use the collection's indexer as shown in the following example, instead of using the collection's Item property.
Examples
This C# example gets the first DivisionUnit object from the DivisionUnits collection, theDivisionUnits.
DivisionUnit theDivisionUnit = theDivisionUnits[0];
This Microsoft® Visual Basic® .NET example gets the first DivisionUnit object from the DivisionUnits collection, theDivisionUnits.
Dim theDivisionUnit As DivisionUnit = theDivisionUnits.Item(0)
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