Метод 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.