次の方法で共有


WindowsFormsComponentEditor.EditComponent メソッド (ITypeDescriptorContext, Object)

指定したコンテキスト情報を使用して、指定したコンポーネントをユーザーが編集できるようにするエディタ ウィンドウを作成します。

Overrides Overloads Public Function EditComponent( _
   ByVal context As ITypeDescriptorContext, _   ByVal component As Object _) As Boolean
[C#]
public override bool EditComponent(ITypeDescriptorContextcontext,objectcomponent);
[C++]
public: bool EditComponent(ITypeDescriptorContext* context,Object* component);
[JScript]
public override function EditComponent(
   context : ITypeDescriptorContext,component : Object) : Boolean;

パラメータ

  • context
    追加のコンテキスト情報を取得するために使用できる ITypeDescriptorContext
  • component
    編集対象のコンポーネント。

戻り値

コンポーネントが編集中に変更された場合は true 。それ以外の場合は false

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

WindowsFormsComponentEditor クラス | WindowsFormsComponentEditor メンバ | System.Windows.Forms.Design 名前空間 | WindowsFormsComponentEditor.EditComponent オーバーロードの一覧