WindowsFormsComponentEditor.GetComponentEditorPages Method
Gets the component editor pages associated with the component editor.
[Visual Basic] Protected Overridable Function GetComponentEditorPages() As Type() [C#] protected virtual Type[] GetComponentEditorPages(); [C++] protected: virtual Type* GetComponentEditorPages() []; [JScript] protected function GetComponentEditorPages() : Type[];
Return Value
An array of component editor pages.
Remarks
Notes to Inheritors: You must override this method to implement the functionality for this method.
Example
[Visual Basic, C#, C++] The following code example demonstrates an example implementation of a GetComponentEditorPages method override.
[Visual Basic] ' This method override returns an type array containing the type of ' each component editor page to display. Protected Overrides Function GetComponentEditorPages() As Type() Return New Type() {GetType(ExampleComponentEditorPage), GetType(ExampleComponentEditorPage)} End Function [C#] // This method override returns an type array containing the type of // each component editor page to display. protected override Type[] GetComponentEditorPages() { return new Type[] { typeof(ExampleComponentEditorPage), typeof(ExampleComponentEditorPage) }; } [C++] // This method override returns an type array containing the type of // each component editor page to display. protected: Type*GetComponentEditorPages()[] { Type* temp0 [] = {__typeof(ExampleComponentEditorPage), __typeof(ExampleComponentEditorPage)}; return temp0; }
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
WindowsFormsComponentEditor Class | WindowsFormsComponentEditor Members | System.Windows.Forms.Design Namespace