SPViewFieldCollection.MoveFieldTo_Client method
Moves a field to a particular position in the collection of view fields and update the view. The first position is 0.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub MoveFieldTo_Client ( _
field As String, _
index As Integer _
)
'Usage
Dim instance As SPViewFieldCollection
Dim field As String
Dim index As Integer
instance.MoveFieldTo_Client(field, index)
public void MoveFieldTo_Client(
string field,
int index
)
Parameters
field
Type: System.StringField internal name of the field to be moved.
index
Type: System.Int32New position of the field. The first position is 0.