Partager via


Méthode IndexOf (AggregationDesignAttribute)

Gets the index of a specified AggregationDesignAttribute.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function IndexOf ( _
    item As AggregationDesignAttribute _
) As Integer
'Utilisation
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

Valeur de retour

Type : System. . :: . .Int32
The zero-based index of the AggregationDesignAttribute, if the object is found; otherwise, -1.