Metoda AttributeRelationshipCollection.IndexOf (String)
Pobiera indeks AttributeRelationship, identyfikowane przez attributeId, kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function IndexOf ( _
attributeId As String _
) As Integer
'Użycie
Dim instance As AttributeRelationshipCollection
Dim attributeId As String
Dim returnValue As Integer
returnValue = instance.IndexOf(attributeId)
public int IndexOf(
string attributeId
)
public:
int IndexOf(
String^ attributeId
)
member IndexOf :
attributeId:string -> int
public function IndexOf(
attributeId : String
) : int
Parametry
- attributeId
Typ: System.String
Identyfikuje AttributeRelationship umieszczony kolekcja.
Wartość zwracana
Typ: System.Int32
Indeks od zera, jaką AttributeRelationship zostało znalezione kolekcja.W przeciwnym razie -1, jeśli nie znaleziono obiektu.
Zobacz także