Partilhar via


Método IndexOf (MiningStructure)

Gets the index of a specified MiningStructure.

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

Sintaxe

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

Valor de retorno

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