指定したコンポーネントをユーザーが編集できるようにするエディタ ウィンドウを作成します。
Overloads Public Overridable Function EditComponent( _
ByVal context As ITypeDescriptorContext, _ ByVal component As Object, _ ByVal owner As IWin32Window _) As Boolean
[C#]
public virtual bool EditComponent(ITypeDescriptorContextcontext,objectcomponent,IWin32Windowowner);
[C++]
public: virtual bool EditComponent(ITypeDescriptorContext* context,Object* component,IWin32Window* owner);
[JScript]
public function EditComponent(
context : ITypeDescriptorContext,component : Object,owner : IWin32Window) : Boolean;
パラメータ
- context
追加のコンテキスト情報を取得するために使用できる ITypeDescriptorContext 。 - 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 オーバーロードの一覧