XPDictionary.GetClassInfo(Type) Method

Returns the persistent class metadata information for the specified class type.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

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

Parameters

Name Type Description
classType Type

The class type.

Returns

Type Description
XPClassInfo

The XPClassInfo for the specified class type.

Remarks

This method throws the CannotResolveClassInfoException whenever the metadata information cannot be obtained for the specified class type; for example, if the corresponding class does not implement IXPSimpleObject an exception is thrown.

See Also