Метод MeasureCollection.Find
Returns the specified Measure from the collection.
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)
Синтаксис
'Декларация
Public Function Find ( _
index As String _
) As Measure
'Применение
Dim instance As MeasureCollection
Dim index As String
Dim returnValue As Measure
returnValue = instance.Find(index)
public Measure Find(
string index
)
public:
Measure^ Find(
String^ index
)
member Find :
index:string -> Measure
public function Find(
index : String
) : Measure
Параметры
- index
Тип: System.String
The name of the Measure to find.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AdomdClient.Measure
The Measure with the specified name if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).
Замечания
The Find method returns null if the object is not found, while the Item property throws an exception if the object is not found.