Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the ExtendedProperty object at the specified index within the ExtendedProperties collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As ExtendedProperty
'Usage
Dim instance As ExtendedProperties
Dim index As Integer
Dim value As ExtendedProperty
value = instance.Item(index)
public ExtendedProperty this[
int index
] { get; }
public:
property ExtendedProperty^ Item[int index] {
ExtendedProperty^ get (int index);
}
JScript does not support indexed properties.
Parameters
index
Type: System.Int32The GUID identifier of the ExtendedProperty object to get.
Property Value
Type: Microsoft.Ink.ExtendedProperty
The ExtendedProperty object at the specified index within the ExtendedProperties collection.
Remarks
An ArgumentException is thrown if the id does not match an existing member of the ExtendedProperties collection.
Note
In C#, use the collection's indexer instead of using the collection's Item property.
Examples
In this example, an ExtendedProperty object is retrieved from the ExtendedProperties collection of a Stroke object by using a integer index.
Dim firstProp As ExtendedProperty = stroke.ExtendedProperties.Item(0)
' another way to access the item
Dim firstPropSame As ExtendedProperty = stroke.ExtendedProperties(0)
ExtendedProperty firstProp = stroke.ExtendedProperties[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