ExtendedProperties.Item Property (Guid)
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 ( _
id As Guid _
) As ExtendedProperty
'Usage
Dim instance As ExtendedProperties
Dim id As Guid
Dim value As ExtendedProperty
value = instance.Item(id)
public ExtendedProperty this[
Guid id
] { get; }
public:
property ExtendedProperty^ Item[Guid id] {
ExtendedProperty^ get (Guid id);
}
JScript does not support indexed properties.
Parameters
id
Type: System.GuidThe zero-based index of the ExtendedProperty object to get.
Property Value
Type: Microsoft.Ink.ExtendedProperty
ExtendedProperty object at the specified index within the ExtendedProperties collection.
Remarks
An ArgumentOutOfRangeException is thrown if the index 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 Guid, epGuid.
Dim exProp As ExtendedProperty = stroke.ExtendedProperties.Item(epGuid)
' another way to access the item
Dim exPropSame As ExtendedProperty = stroke.ExtendedProperties(epGuid)
ExtendedProperty exProp = stroke.ExtendedProperties[epGuid];
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