XpoTypesInfoHelper.GetXpoTypeInfoSource() Method
Returns an object providing access to the XPDictionary.
Namespace: DevExpress.ExpressApp.Xpo
Assembly: DevExpress.ExpressApp.Xpo.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Xpo
Declaration
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:
- Access XAF Application Data in a non-XAF Application
- How to: Use XAF Reports in a non-XAF Application
- How to: Use the Integrated Mode of the Security System in Non-XAF Applications
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.