WindowsFormsComponentEditor.GetComponentEditorPages Metoda

Definice

Získá stránky editoru komponent přidružené k editoru komponent.

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

Návraty

Type[]

Pole stránek editoru součástí.

Příklady

Následující příklad kódu ukazuje příklad implementace přepsání GetComponentEditorPages metody.

// 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)];

Poznámky pro dědice

Chcete-li implementovat funkce této metody, je nutné tuto metodu přepsat.

Platí pro