Поделиться через


ExtendedProperties.Item - свойство (Guid)

Обновлен: Ноябрь 2007

Gets the ExtendedProperty object at the specified index within the ExtendedProperties collection.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public ReadOnly Property Item ( _
    id As Guid _
) As ExtendedProperty
'Применение
Dim instance As ExtendedProperties
Dim id As Guid
Dim value As ExtendedProperty

value = instance.Item(id)
public ExtendedProperty Item[
    Guid id
] { get; }
public:
property ExtendedProperty^ Item[Guid id] {
    ExtendedProperty^ get (Guid id);
}
/** @property */
public ExtendedProperty get_Item(
    Guid id
)
JScript не поддерживает индексированные свойства.

Параметры

Значение свойства

Тип: Microsoft.Ink.ExtendedProperty
ExtendedProperty object at the specified index within the ExtendedProperties collection.

Заметки

An ArgumentOutOfRangeException is thrown if the index does not match an existing member of the ExtendedProperties collection.

ms582120.alert_note(ru-ru,VS.90).gifПримечание.

In C#, use the collection's indexer instead of using the collection's Item property.

Примеры

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];

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

ExtendedProperties Класс

ExtendedProperties - члены

Item - перегрузка

Microsoft.Ink - пространство имен

ExtendedProperty