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.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public Function IndexOf ( _
    parameterName As String _
) As Integer
用法
Dim instance As AdomdParameterCollection
Dim parameterName As String
Dim returnValue As Integer

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

参数

返回值

类型:System. . :: . .Int32
The index of value if found in the list, -1 otherwise.

实现

IDataParameterCollection. . :: . .IndexOf(String)