xpo-devexpress-dot-xpo-dot-metadata-dot-reflectiondictionary-dot-queryclassinfo-x28-system-dot-type-x29.md
Returns the persistent class metadata information for the specified class type.
Namespace : DevExpress.Xpo.Metadata
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public override XPClassInfo QueryClassInfo(
Type classType
)
Public Overrides Function QueryClassInfo(
classType As Type
) As XPClassInfo
| Name | Type | Description |
|---|---|---|
| classType | Type |
The class type.
|
| Type | Description |
|---|---|
| XPClassInfo |
The XPClassInfo object for the specified class type or null reference ( Nothing in Visual Basic) when the metadata information for the corresponding class cannot be obtained.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the QueryClassInfo(Type) 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.
if(!IsTempDatabaseTable(ci.TableName)) {
legacyDictionary.QueryClassInfo(ci.ClassType);
}
If Not IsTempDatabaseTable(ci.TableName) Then
legacyDictionary.QueryClassInfo(ci.ClassType)
Else
See Also