VistaDB 5






Name of active index that pivots current row order
"Current row position"
SetActiveIndex Method
Set active index in the current table
Syntax
'Declaration
 
Public Function SetActiveIndex( _
   ByVal indexName As System.String, _
   ByVal selectedRow As System.Integer _
) As System.Boolean
'Usage
 
Dim instance As VistaDBDataTable
Dim indexName As System.String
Dim selectedRow As System.Integer
Dim value As System.Boolean
 
value = instance.SetActiveIndex(indexName, selectedRow)
public System.bool SetActiveIndex( 
   System.string indexName,
   System.int selectedRow
)
public function SetActiveIndex( 
    indexName: System.String;
    selectedRow: System.Integer
): System.Boolean; 
public function SetActiveIndex( 
   indexName : System.String,
   selectedRow : System.int
) : System.boolean;
public: System.bool SetActiveIndex( 
   System.string* indexName,
   System.int selectedRow
) 
public:
System.bool SetActiveIndex( 
   System.String^ indexName,
   System.int selectedRow
) 

Parameters

indexName
Name of active index that pivots current row order
selectedRow
"Current row position"
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also