共用方式為


AdomdParameterCollection.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 
DimAs 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)

請參閱

參考

AdomdParameterCollection 類別

IndexOf 多載

Microsoft.AnalysisServices.AdomdServer 命名空間