Back to Devexpress

ModuleBase.GetRealModuleType(Type) Method

expressappframework-devexpress-dot-expressapp-dot-modulebase-dot-getrealmoduletype-x28-system-dot-type-x29.md

latest1.6 KB
Original Source

ModuleBase.GetRealModuleType(Type) Method

Returns the type of an XAF Module.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public static Type GetRealModuleType(
    Type moduleType
)
vb
Public Shared Function GetRealModuleType(
    moduleType As Type
) As Type

Parameters

NameTypeDescription
moduleTypeType

The System.Type object which potentially can be the type of an XAF Module.

|

Returns

TypeDescription
Type

The System.Type object which is the type of an XAF Module.

|

Remarks

If the passed type is not assignable from the ModuleBase type, or the passed type is obsolete, an ArgumentException is thrown. Otherwise, the type passed via the moduleType parameter is returned.

See Also

ModuleBase Class

ModuleBase Members

DevExpress.ExpressApp Namespace