Aracılığıyla paylaş


AggregationInstanceCollection.IndexOf Yöntemi (AggregationInstance)

Belirtilen dizin alır AggregationInstance.

Ad Alanı:  Microsoft.AnalysisServices
Derleme:  Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)

Sözdizimi

'Bildirim
Public Function IndexOf ( _
    item As AggregationInstance _
) As Integer
'Kullanım
Dim instance As AggregationInstanceCollection
Dim item As AggregationInstance
Dim returnValue As Integer

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

Dönüş Değeri

Tür: System.Int32
Sıfır tabanlı dizini AggregationInstance, yoksa nesnesi bulunabilir; Aksi takdirde, -1.