The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.GetClassInfo(Type) Method

Returns the XPClassInfo for the specified type of class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public XPClassInfo GetClassInfo(
    Type classType
)
Public Function GetClassInfo(
    classType As Type
) As XPClassInfo
public XPClassInfo GetClassInfo(
    Type classType
)
Public Function GetClassInfo(
    classType As Type
) As XPClassInfo

Parameters

Name Type Description
classType Type

A Type object which represents the class type.

Parameters

Name Type Description
classType Type

A Type object which represents the class type.

Returns

Type Description
XPClassInfo

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

Returns

Type Description
XPClassInfo

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

Remarks

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

See Also