Partilhar via


Método IndexOf (AggregationDesignAttribute)

Gets the index of a specified AggregationDesignAttribute.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As AggregationDesignAttribute _
) As Integer
'Uso
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

Valor de retorno

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