Find méthode
Returns the specified Measure from the collection.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (dans Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public Function Find ( _
index As String _
) As Measure
'Utilisation
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
Paramètres
- index
Type : System. . :: . .String
The name of the Measure to find.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdClient. . :: . .Measure
Notes
The Find method returns null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) if the object is not found, while the Item property throws an exception if the object is not found.