Share via


ModulePage.GetPageType(String) Method

Definition

Retrieves the page type that is associated with the module page.

protected:
 Type ^ GetPageType(System::String ^ moduleName);
protected Type GetPageType (string moduleName);
member this.GetPageType : string -> Type
Protected Function GetPageType (moduleName As String) As Type

Parameters

moduleName
String

The name of the module.

Returns

The Type of the named ModulePage object, or null if the module is not present.

Remarks

The GetPageType method assumes that there is just one page type associated with each module. If the module is not present, this method returns null.

Applies to