Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ModuleBase.GetRealModuleType(Type) Method

Returns the type of an XAF Module.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public static Type GetRealModuleType(
    Type moduleType
)

#Parameters

Name Type Description
moduleType Type

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

#Returns

Type Description
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