MiningStructureCollection.IndexOf Method (MiningStructure)

Gets the index of a specified MiningStructure.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As MiningStructure _
) As Integer
'Usage
Dim instance As MiningStructureCollection 
Dim item As MiningStructure 
Dim returnValue As Integer 

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

Parameters

Return Value

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

See Also

Reference

MiningStructureCollection Class

IndexOf Overload

Microsoft.AnalysisServices Namespace