Skip to main content
.NET 8.0+

XPDataView(XPDictionary, IList<String>, IList<Type>) Constructor

Initializes a new instance of the XPDataView class, and creates columns based on the specified settings.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public XPDataView(
    XPDictionary dictionary,
    IList<string> names,
    IList<Type> types
)

#Parameters

Name Type Description
dictionary XPDictionary

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

names IList<String>

A list of names for columns to be created and added to the XPDataView.Properties collection.

types IList<Type>

A list of types for columns to be created and added to the XPDataView.Properties collection.

#Remarks

This constructor creates columns based on the specified settings and adds these columns to the XPDataView.Properties collection.

See Also