Skip to main content
.NET Framework 4.5.2+

Session.GetClassInfo(String, String) Method

Returns the XPClassInfo for the specified assembly and class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPClassInfo GetClassInfo(
    string assemblyName,
    string className
)

Parameters

Name Type Description
assemblyName String

A String value which specifies the assembly name.

className String

A String value which specifies the class name.

Returns

Type Description
XPClassInfo

An XPClassInfo object which provides metadata information for the specified assembly and class.

Remarks

The GetClassInfo method retrieves the metadata information via the Session.Dictionary. If the metadata cannot be obtained, a CannotResolveClassInfoException is thrown.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetClassInfo(String, String) 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