DomainDataSourceView.MoveCurrentTo Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Sets the specified item to be the CurrentItem in the view.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)
Syntax
'Declaration
Public Function MoveCurrentTo ( _
item As Object _
) As Boolean
'Usage
Dim instance As DomainDataSourceView
Dim item As Object
Dim returnValue As Boolean
returnValue = instance.MoveCurrentTo(item)
public bool MoveCurrentTo(
Object item
)
public:
virtual bool MoveCurrentTo(
Object^ item
) sealed
abstract MoveCurrentTo :
item:Object -> bool
override MoveCurrentTo :
item:Object -> bool
public final function MoveCurrentTo(
item : Object
) : boolean
Parameters
- item
Type: System.Object
The item to set as the CurrentItem.
Return Value
Type: System.Boolean
true if the resulting CurrentItem is within the view; otherwise, false.
Implements
ICollectionView.MoveCurrentTo(Object)