Compartilhar via


Método IndexOf (MiningModelColumn)

Gets the index of a specified MiningModelColumn.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As MiningModelColumn _
) As Integer
'Uso
Dim instance As MiningModelColumnCollection
Dim item As MiningModelColumn
Dim returnValue As Integer

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

Valor de retorno

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