MeasureCollection.Find Method
Returns the specified Measure from the collection.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Function Find ( _
index As String _
) As Measure
'Usage
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
Parameters
- index
Type: System.String
The name of the Measure to find.
Return Value
Remarks
The Find method returns nulla null reference (Nothing in Visual Basic) if the object is not found, while the Item property throws an exception if the object is not found.