WindowsFormsComponentEditor.GetComponentEditorPages 메서드

정의

구성 요소 편집기에 연결된 구성 요소 편집기 페이지를 가져옵니다.

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

반환

Type[]

구성 요소 편집기 페이지의 배열.

예제

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

protected:
   // This method override returns an type array containing the type of 
   // each component editor page to display.
   virtual array<Type^>^ GetComponentEditorPages() override
   {
      array<Type^>^temp0 = {ExampleComponentEditorPage::typeid,ExampleComponentEditorPage::typeid};
      return temp0;
   }
// 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) }; 
}
' This method override returns an type array containing the type of 
' each component editor page to display.
Protected Overrides Function GetComponentEditorPages() As Type()
    Return New Type() {GetType(ExampleComponentEditorPage), GetType(ExampleComponentEditorPage)}
End Function

상속자 참고

이 메서드의 기능을 구현하려면 이 메서드를 재정의해야 합니다.

적용 대상