ExtendedProperties.Item Property (Int32)
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 Default Property Item ( _
index As Integer _
) As ExtendedProperty
'Usage
Dim instance As ExtendedProperties
Dim index As Integer
Dim value As ExtendedProperty
value = instance(index)
public ExtendedProperty this [
int index
] { get; }
public:
property ExtendedProperty^ default [int] {
ExtendedProperty^ get (int index);
}
/** @property */
public ExtendedProperty get_Item (int index)
Not applicable.
Parameters
- index
The GUID identifier of the ExtendedProperty object to get.
Property Value
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.
Example
This C# example gets the ExtendedProperty object from the ExtendedProperties collection of a Stroke, theStroke
, by using a Guid, extendedPropertyGuid
.
ExtendedProperty theExtendedProperty = theStroke.ExtendedProperties[extendedPropertyGuid];
This Microsoft® Visual Basic® .NET example gets the ExtendedProperty object from the ExtendedProperties collection of a Stroke, theStroke
, by using a Guid, extendedPropertyGuid
.
Dim theExtendedProperty As ExtendedProperty = theStroke.ExtendedProperties.Item(extendedPropertyGuid)
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
ExtendedProperties Class
ExtendedProperties Members
Microsoft.Ink Namespace
ExtendedProperty