다음을 통해 공유


ExtendedProperties.IndexOf 메서드 (ExtendedProperty)

업데이트: 2007년 11월

ExtendedProperty 개체의 이름을 기반으로 ExtendedProperties 내에서 특정 ExtendedProperty 개체의 인덱스를 반환합니다.

네임스페이스:  Microsoft.Ink
어셈블리:  Microsoft.Ink(Microsoft.Ink.dll)

구문

‘선언
Public Function IndexOf ( _
    ep As ExtendedProperty _
) As Integer
‘사용 방법
Dim instance As ExtendedProperties
Dim ep As ExtendedProperty
Dim returnValue As Integer

returnValue = instance.IndexOf(ep)
public int IndexOf(
    ExtendedProperty ep
)
public:
int IndexOf(
    ExtendedProperty^ ep
)
public int IndexOf(
    ExtendedProperty ep
)
public function IndexOf(
    ep : ExtendedProperty
) : int

매개 변수

반환 값

형식: System.Int32
ExtendedProperties 컬렉션 내에 있는 ExtendedProperty 개체의 인덱스입니다.

설명

ExtendedProperties 컬렉션에 없는 ExtendedProperty 개체가 전달되면 이 메서드는 -1을 반환합니다.

예제

이 예제에서는 ExtendedProperties 컬렉션 내에 있는 ExtendedProperty 개체의 인덱스를 가져옵니다.

Dim idx As Integer = stroke.ExtendedProperties.IndexOf(exProp)
int idx = stroke.ExtendedProperties.IndexOf(exProp);

플랫폼

Windows Vista

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

ExtendedProperties 클래스

ExtendedProperties 멤버

IndexOf 오버로드

Microsoft.Ink 네임스페이스

ExtendedProperty