ExtendedProperties.Item - свойство (Int32)
Обновлен: Ноябрь 2007
Gets the ExtendedProperty object at the specified index within the ExtendedProperties collection.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public ReadOnly Property Item ( _
index As Integer _
) As ExtendedProperty
'Применение
Dim instance As ExtendedProperties
Dim index As Integer
Dim value As ExtendedProperty
value = instance.Item(index)
public ExtendedProperty Item[
int index
] { get; }
public:
property ExtendedProperty^ Item[int index] {
ExtendedProperty^ get (int index);
}
/** @property */
public ExtendedProperty get_Item(
int index
)
JScript не поддерживает индексированные свойства.
Параметры
- index
Тип: System.Int32
The GUID identifier of the ExtendedProperty object to get.
Значение свойства
Тип: Microsoft.Ink.ExtendedProperty
The ExtendedProperty object at the specified index within the ExtendedProperties collection.
Заметки
An ArgumentException is thrown if the id does not match an existing member of the ExtendedProperties collection.
![]() |
---|
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 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];
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0