AttributeRelationshipCollection.IndexOf 메서드

정의

오버로드

IndexOf(AttributeRelationship)

지정된 AttributeRelationship를 검색하고 컬렉션 내에서 해당 항목의 인덱스(0부터 시작)를 반환합니다.

IndexOf(String)

지정한 AttributeID를 가진 AttributeRelationship을 검색하고 컬렉션 내에서 해당 항목의 인덱스(0부터 시작)를 반환합니다.

IndexOf(AttributeRelationship)

지정된 AttributeRelationship를 검색하고 컬렉션 내에서 해당 항목의 인덱스(0부터 시작)를 반환합니다.

public int IndexOf (Microsoft.AnalysisServices.AttributeRelationship item);
override this.IndexOf : Microsoft.AnalysisServices.AttributeRelationship -> int
Public Function IndexOf (item As AttributeRelationship) As Integer

매개 변수

item
AttributeRelationship

컬렉션에서 찾을 AttributeRelationship입니다.

반환

컬렉션에서 AttributeRelationship를 찾은 경우 해당 항목의 인덱스(0부터 시작)이고, 그렇지 않은 경우 -1입니다.

적용 대상

IndexOf(String)

지정한 AttributeID를 가진 AttributeRelationship을 검색하고 컬렉션 내에서 해당 항목의 인덱스(0부터 시작)를 반환합니다.

public int IndexOf (string attributeId);
override this.IndexOf : string -> int
Public Function IndexOf (attributeId As String) As Integer

매개 변수

attributeId
String

컬렉션에서 찾을 AttributeRelationship의 AttributeID입니다.

반환

컬렉션에서 AttributeRelationship를 찾은 경우 해당 항목의 인덱스(0부터 시작)이고, 그렇지 않은 경우 -1입니다.

적용 대상