Metoda DimensionAttributeCollection.IndexOf (String)
Pobiera indeks DimensionAttribute z określonym identyfikatorem.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function IndexOf ( _
id As String _
) As Integer
'Użycie
Dim instance As DimensionAttributeCollection
Dim id As String
Dim returnValue As Integer
returnValue = instance.IndexOf(id)
public int IndexOf(
string id
)
public:
int IndexOf(
String^ id
)
member IndexOf :
id:string -> int
public function IndexOf(
id : String
) : int
Parametry
- id
Typ: System.String
Identyfikator DimensionAttribute się znajdować.
Wartość zwracana
Typ: System.Int32
Indeks od zera DimensionAttribute określonych przez id , jeśli obiekt znajduje się; w przeciwnym razie -1.
Zobacz także