WindowsFormsComponentEditor.GetComponentEditorPages Yöntem

Tanım

Bileşen düzenleyicisiyle ilişkili bileşen düzenleyicisi sayfalarını alır.

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

Döndürülenler

Type[]

Bileşen düzenleyicisi sayfaları dizisi.

Örnekler

Aşağıdaki kod örneği, bir yöntem geçersiz kılma işleminin GetComponentEditorPages örnek uygulamasını gösterir.

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

Devralanlara Notlar

Bu yöntemin işlevselliğini uygulamak için bu yöntemi geçersiz kılmalısınız.

Şunlara uygulanır