DomainDataSourceView.Item Property
[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 ReadOnly Default Property Item ( _
index As Integer _
) As Object
Get
'Usage
Dim instance As DomainDataSourceView
Dim index As Integer
Dim value As Object
value = instance(index)
public Object this[
int index
] { get; }
public:
property Object^ default[int index] {
Object^ get (int index);
}
member Item : Object
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
The index of the item to retrieve.
Property Value
Type: System.Object
The item at the specified index.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is out of range. |