다음을 통해 공유


AdomdPropertyCollection.IndexOf 메서드

Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.

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

구문

‘선언
Public Function IndexOf ( _
    value As AdomdProperty _
) As Integer
‘사용 방법
Dim instance As AdomdPropertyCollection 
Dim value As AdomdProperty 
Dim returnValue As Integer 

returnValue = instance.IndexOf(value)
public int IndexOf(
    AdomdProperty value
)
public:
int IndexOf(
    AdomdProperty^ value
)
member IndexOf : 
        value:AdomdProperty -> int
public function IndexOf(
    value : AdomdProperty
) : int

매개 변수

반환 값

유형: System.Int32
The index of value if found in the list; -1 otherwise.

참고 항목

참조

AdomdPropertyCollection 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스