Skip to main content
.NET 6.0+

XpoTypesInfoHelper.GetXpoTypeInfoSource() Method

Returns an object providing access to the XPDictionary.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Xpo


public static XpoTypeInfoSource GetXpoTypeInfoSource()


Type Description

An XpoTypeInfoSource object providing access to the XPDictionary.


If the XpoTypeInfoSource object is not yet initialized, the GetXpoTypeInfoSource method forces its initialization by calling the XpoTypesInfoHelper.ForceInitialize method internally.

Since the GetXpoTypeInfoSource method is static, you can call in from any appropriate context.

using DevExpress.ExpressApp.Xpo;
using DevExpress.ExpressApp.DC.Xpo;
// ...
XpoTypeInfoSource xpoTypeInfoSource = XpoTypesInfoHelper.GetXpoTypeInfoSource();

You can access the XPDictionary object as follows:

using DevExpress.Xpo.Metadata;
using DevExpress.ExpressApp.Xpo;
// ...
XPDictionary xpDictionary = XpoTypesInfoHelper.GetXpoTypeInfoSource().XPDictionary;

More examples on how to use the GetXpoTypeInfoSource method are provided in the following topics:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetXpoTypeInfoSource() method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also