IndexOf 方法 (AdomdParameter)
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 ( _
value As AdomdParameter _
) As Integer
'用途
Dim instance As AdomdParameterCollection
Dim value As AdomdParameter
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
AdomdParameter value
)
public:
int IndexOf(
AdomdParameter^ value
)
member IndexOf :
value:AdomdParameter -> int
public function IndexOf(
value : AdomdParameter
) : int
參數
- value
型別:Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdParameter
The AdomdParameter object to locate in the AdomdParameterCollection collection.
傳回值
型別:System. . :: . .Int32
The index of value if found in the list, -1 otherwise.