WindowsFormsComponentEditor.GetComponentEditorPages Metódus

Definíció

Lekéri az összetevő-szerkesztőhöz társított összetevő-szerkesztő lapokat.

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

Válaszok

Type[]

Összetevő-szerkesztőoldalak tömbje.

Példák

Az alábbi példakód egy metódus felülbírálásának példáját GetComponentEditorPages mutatja be.

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

Megjegyzések az öröklőkhöz

A metódus funkcióinak implementálásához felül kell bírálnia ezt a metódust.

A következőre érvényes: