DomainDataSource.Data 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 entities resulting from the last load operation, as an IEnumerable.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)
Syntax
'Declaration
Public Property Data As IEnumerable
Get
Private Set
'Usage
Dim instance As DomainDataSource
Dim value As IEnumerable
value = instance.Data
public IEnumerable Data { get; private set; }
public:
property IEnumerable^ Data {
IEnumerable^ get ();
private: void set (IEnumerable^ value);
}
member Data : IEnumerable with get, private set
function get Data () : IEnumerable
private function set Data (value : IEnumerable)
Property Value
Type: System.Collections.IEnumerable
The data resulting from a data loading operation.
Remarks
Primarily used when binding other controls to the results of the load; for programmatic access to the loaded entities, see the DataView property. You can change the number of items exposed with the Data property by setting the PageSize.
See Also
Reference
System.Windows.Controls Namespace