Skip to main content
.NET Framework 4.5.2+

XpoTypesInfoHelper.GetXpoTypeInfoSource() Method

Returns an object providing access to the XPDictionary.

Namespace: DevExpress.ExpressApp.Xpo

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

Declaration

public static XpoTypeInfoSource GetXpoTypeInfoSource()

Returns

Type Description
DevExpress.ExpressApp.DC.Xpo.XpoTypeInfoSource

An XpoTypeInfoSource object providing access to the XPDictionary.

Remarks

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 snippets (auto-collected from DevExpress Examples) contain references to the GetXpoTypeInfoSource() method.

Note

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