次の方法で共有


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

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

Overloads Public Function EditComponent( _
   ByVal component As Object, _   ByVal owner As IWin32Window _) As Boolean
[C#]
public bool EditComponent(objectcomponent,IWin32Windowowner);
[C++]
public: bool EditComponent(Object* component,IWin32Window* owner);
[JScript]
public function EditComponent(
   component : Object,owner : IWin32Window) : Boolean;

パラメータ

  • component
    編集対象のコンポーネント。
  • owner
    コンポーネントが属する IWin32Window

戻り値

コンポーネントが編集中に変更された場合は 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 オーバーロードの一覧