The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPDataView(XPDictionary, XPClassInfo, String[]) Constructor

Initializes a new instance of the XPDataView class and populates it with columns based on the specified settings.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public XPDataView(XPDictionary dictionary, XPClassInfo classInfo, params string[] members)
Public Sub New(dictionary As XPDictionary, classInfo As XPClassInfo, ParamArray members As String())
public XPDataView(XPDictionary dictionary, XPClassInfo classInfo, params string[] members)
Public Sub New(dictionary As XPDictionary, classInfo As XPClassInfo, ParamArray members As String())

Parameters

Name Type Description
dictionary XPDictionary

An XPDictionary object which represents the metadata provider. This value is assigned to the XPDataView.Dictionary property.

classInfo XPClassInfo

An XPClassInfo object containing metadata information on the object whose members are used to populate the XPDataView.Properties collection.

members String[]

An array of property names that are used to populate the XPDataView.Properties collection.

Parameters

Name Type Description
dictionary XPDictionary

An XPDictionary object which represents the metadata provider. This value is assigned to the XPDataView.Dictionary property.

classInfo XPClassInfo

An XPClassInfo object containing metadata information on the object whose members are used to populate the XPDataView.Properties collection.

members String[]

An array of property names that are used to populate the XPDataView.Properties collection.

Remarks

This constructor populates the data view with columns by calling the appropriate XPDataView.PopulateProperties overloaded method and passing the specified metadata and array of property names as its classInfo and members parameters.

See Also