DomainDataSourceView.GetItemAt 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.]
Gets the item at the specified index.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)
Syntax
'Declaration
Public Function GetItemAt ( _
index As Integer _
) As Object
'Usage
Dim instance As DomainDataSourceView
Dim index As Integer
Dim returnValue As Object
returnValue = instance.GetItemAt(index)
public Object GetItemAt(
int index
)
public:
Object^ GetItemAt(
int index
)
member GetItemAt :
index:int -> Object
public function GetItemAt(
index : int
) : Object
Parameters
- index
Type: System.Int32
The index of the item to get.
Return Value
Type: System.Object
The item at the specified index.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is out of range. |