IndexOf 메서드 (String)

Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.

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

구문

‘선언
Public Function IndexOf ( _
     As String _
) As Integer
‘사용 방법
Dim instance As AdomdParameterCollection
Dim  As String
Dim returnValue As Integer

returnValue = instance.IndexOf()
public int IndexOf(
    string 
)
public:
virtual int IndexOf(
    String^ 
) sealed
abstract IndexOf : 
        :string -> int 
override IndexOf : 
        :string -> int 
public final function IndexOf(
     : String
) : int

매개 변수

반환 값

유형: System. . :: . .Int32
The index of value if found in the list. Otherwise, it returns -1.

구현

IDataParameterCollection. . :: . .IndexOf(String)