ExtendedProperties.Item 속성 (Int32)
업데이트: 2007년 11월
ExtendedProperties 컬렉션 내에서 지정된 인덱스에 있는 ExtendedProperty 개체를 가져옵니다.
네임스페이스: 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
가져올 ExtendedProperty 개체의 GUID 식별자입니다.
속성 값
형식: Microsoft.Ink.ExtendedProperty
ExtendedProperties 컬렉션 내에서 지정된 인덱스에 있는 ExtendedProperty 개체입니다.
설명
ID가 ExtendedProperties 컬렉션의 기존 멤버와 일치하지 않으면 ArgumentException이 throw됩니다.
참고
C#에서는 컬렉션의 Item 속성을 사용하는 대신 컬렉션의 인덱서를 사용합니다.
예제
이 예제에서는 Stroke 개체의 ExtendedProperties 컬렉션에서 정수 인덱스를 사용하여 ExtendedProperty 개체를 가져옵니다.
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에서 지원