Share via


MiningModelColumnCollection.IndexOf Method (MiningModelColumn)

Gets the index of a specified MiningModelColumn.

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

Syntax

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

Parameters

Return Value

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

See Also

Reference

MiningModelColumnCollection Class

IndexOf Overload

Microsoft.AnalysisServices Namespace