DBColumn.GetColumnType(Type, Boolean) Method

Gets the column type of the specified runtime type.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v20.2.dll


public static DBColumnType GetColumnType(
    Type type,
    bool suppressExceptionOnUnknown
Public Shared Function GetColumnType(
    type As Type,
    suppressExceptionOnUnknown As Boolean
) As DBColumnType


Name Type Description
type Type

A Type object that represents the exact runtime type.

suppressExceptionOnUnknown Boolean

true to return the DBColumnType.Unknown value if the specified type cannot be identified; false to raise the PropertyTypeMappingMissingException exception.


Type Description

A DevExpress.Xpo.DB.DBColumnType enumeration value that corresponds to the specified runtime type.

See Also