Udostępnij za pośrednictwem


Metoda LevelPropertyCollection.Find

Pobiera określony LevelProperty z kolekcja według jego nazwy.

Przestrzeń nazw:  Microsoft.AnalysisServices.AdomdClient
Zestaw:  Microsoft.AnalysisServices.AdomdClient (w Microsoft.AnalysisServices.AdomdClient.dll)

Składnia

'Deklaracja
Public Function Find ( _
    index As String _
) As LevelProperty
'Użycie
Dim instance As LevelPropertyCollection
Dim index As String
Dim returnValue As LevelProperty

returnValue = instance.Find(index)
public LevelProperty Find(
    string index
)
public:
LevelProperty^ Find(
    String^ index
)
member Find : 
        index:string -> LevelProperty 
public function Find(
    index : String
) : LevelProperty

Parametry

Uwagi

Jeśli obiekt nie zostanie znaleziony, Find Metoda zwraca nullodwołanie o wartości null (Nothing w języku Visual Basic), podczas gdy Item Właściwość zgłasza wyjątek.