Share via


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[]

Bir bileşen düzenleyicisi sayfaları dizisi.

Örnekler

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

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

Devralanlara Notlar

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

Şunlara uygulanır