IVsDataObjectCollection.IndexOf 메서드 (array<Object[])

컬렉션에서 지정 된 식별자와 일치 하는 데이터 개체의 인덱스를 반환 합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Services
어셈블리:  Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)

구문

‘선언
Function IndexOf ( _
    identifier As Object() _
) As Integer
int IndexOf(
    Object[] identifier
)
int IndexOf(
    array<Object^>^ identifier
)
abstract IndexOf : 
        identifier:Object[] -> int
function IndexOf(
    identifier : Object[]
) : int

매개 변수

  • identifier
    형식: array<Object[]

    요청한 데이터 개체를 고유 하 게 식별 하는 식별자 부분을 포함 하는 배열입니다.

반환 값

형식: Int32
정수 값을 데이터 개체에 데이터 개체를 찾을 수 없는 경우-1 또는, 지정 된 식별자와 일치 하는 컬렉션의 인덱스를 나타내는 0 보다 크거나.

.NET Framework 보안

참고 항목

참조

IVsDataObjectCollection 인터페이스

IndexOf 오버로드

Microsoft.VisualStudio.Data.Services 네임스페이스