.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XpoTypesInfoHelper.GetXpoTypeInfoSource() Method

Returns an object providing access to the XPDictionary.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v21.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:

See Also