Udostępnij za pośrednictwem


Metoda AggregationDesignAttributeCollection.IndexOf (AggregationDesignAttribute)

Pobiera indeks określonego AggregationDesignAttribute.

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

Składnia

'Deklaracja
Public Function IndexOf ( _
    item As AggregationDesignAttribute _
) As Integer
'Użycie
Dim instance As AggregationDesignAttributeCollection
Dim item As AggregationDesignAttribute
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    AggregationDesignAttribute item
)
public:
int IndexOf(
    AggregationDesignAttribute^ item
)
member IndexOf : 
        item:AggregationDesignAttribute -> int 
public function IndexOf(
    item : AggregationDesignAttribute
) : int

Wartość zwracana

Typ: System.Int32
Indeksu z AggregationDesignAttribute, jeśli obiekt zostanie znaleziony; w przeciwnym razie -1.