WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex 메서드

정의

표시할 구성 요소 편집기에 대한 초기 구성 요소 편집기 페이지의 인덱스를 가져옵니다.

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

반환

Int32

구성 요소 편집기가 초기에 표시할 구성 요소 편집기 페이지의 인덱스.

예제

다음 코드 예제에서는의 예제 구현을 보여 줍니다는 GetInitialComponentEditorPageIndex 메서드 재정의 합니다.

   // 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

적용 대상