WindowsFormsComponentEditor.GetComponentEditorPages Метод

Определение

Возвращает страницы редактора компонентов, связанные с редактором компонентов.

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()

Возвращаемое значение

Type[]

Массив страниц редактора компонентов.

Примеры

В следующем примере кода показан пример реализации GetComponentEditorPages переопределения метода.

// This method override returns an type array containing the type of
// each component editor page to display.
protected override Type[] GetComponentEditorPages() => [typeof(ExampleComponentEditorPage), typeof(ExampleComponentEditorPage)];

Примечания для тех, кто наследует этот метод

Этот метод необходимо переопределить для реализации функциональных возможностей этого метода.

Применяется к