Share via


AggregationDesignAttributeCollection.IndexOf Method (AggregationDesignAttribute)

Gets the index of a specified AggregationDesignAttribute.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As AggregationDesignAttribute _
) As Integer
'Usage
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

Return Value

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