AdomdPropertyCollection.IndexOf 方法
Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Public Function IndexOf ( _
value As AdomdProperty _
) As Integer
用法
Dim instance As AdomdPropertyCollection
Dim value As AdomdProperty
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
AdomdProperty value
)
public:
int IndexOf(
AdomdProperty^ value
)
member IndexOf :
value:AdomdProperty -> int
public function IndexOf(
value : AdomdProperty
) : int
参数
- value
类型:Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The AdomdProperty to locate in the AdomdPropertyCollection.
返回值
类型:System.Int32
The index of value if found in the list; -1 otherwise.