WindowsFormsComponentEditor.GetComponentEditorPages Method

Gets the component editor pages associated with the component editor.

Namespace: System.Windows.Forms.Design
Assembly: System.Windows.Forms (in system.windows.forms.dll)

protected:
virtual array<Type^>^ GetComponentEditorPages ()
protected Type[] GetComponentEditorPages ()
protected function GetComponentEditorPages () : Type[]
Not applicable.

Return Value

An array of component editor pages.

Notes to Inheritors: You must override this method to implement the functionality for this method.

The following code example demonstrates an example implementation of a GetComponentEditorPages method override.

protected:
   // This method override returns an type array containing the type of 
   // each component editor page to display.
   virtual array<Type^>^ GetComponentEditorPages() override
   {
      array<Type^>^temp0 = {ExampleComponentEditorPage::typeid,ExampleComponentEditorPage::typeid};
      return temp0;
   }

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: