IndexOf 메서드

Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.

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

구문

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

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

반환 값

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