WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Methode

Definition

Ruft den Index der Ausgangsseite des Komponenten-Editors ab, die der Komponenten-Editor anzeigen soll.

protected:
 virtual int GetInitialComponentEditorPageIndex();
protected virtual int GetInitialComponentEditorPageIndex ();
abstract member GetInitialComponentEditorPageIndex : unit -> int
override this.GetInitialComponentEditorPageIndex : unit -> int
Protected Overridable Function GetInitialComponentEditorPageIndex () As Integer

Gibt zurück

Int32

Der Index der Seite des Komponenten-Editors, die der Komponenten-Editor zuerst anzeigt.

Beispiele

Im folgenden Codebeispiel wird eine Beispielimplementierung einer GetInitialComponentEditorPageIndex Methodenüberschreibung veranschaulicht.

   // This method override returns the index of the page to display when the 
   // component editor is first displayed.
protected:
   virtual int GetInitialComponentEditorPageIndex() override
   {
      return 1;
   }
// This method override returns the index of the page to display when the 
// component editor is first displayed.
protected override int GetInitialComponentEditorPageIndex()
{ 
    return 1; 
}
' This method override returns the index of the page to display when the 
' component editor is first displayed.
Protected Overrides Function GetInitialComponentEditorPageIndex() As Integer
    Return 1
End Function

Gilt für: