.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.GetClassInfo<ClassType>() Method

Returns the XPClassInfo for the type designated by the specified generic type parameter.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public XPClassInfo GetClassInfo<ClassType>()
Public Function GetClassInfo(Of ClassType) As XPClassInfo

Type Parameters

Name
ClassType

Returns

Type Description
XPClassInfo

An XPClassInfo object which provides metadata information for a class of the specified type.

Remarks

This method retrieves metadata information via the Session.Dictionary. If the metadata cannot be obtained from a class of the specified type, the CannotResolveClassInfoException is thrown.

See Also