WindowsFormsComponentEditor.GetComponentEditorPages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the component editor pages associated with the component editor.
protected:
virtual cli::array <Type ^> ^ GetComponentEditorPages();
protected virtual Type[] GetComponentEditorPages ();
protected virtual Type[]? GetComponentEditorPages ();
abstract member GetComponentEditorPages : unit -> Type[]
override this.GetComponentEditorPages : unit -> Type[]
Protected Overridable Function GetComponentEditorPages () As Type()
Returns
Type[]
An array of component editor pages.
Examples
The following code example demonstrates an example implementation of a GetComponentEditorPages method override.
// 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) };
}
Notes to Inheritors
You must override this method to implement the functionality for this method.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.