DesignSurface.CreateComponent メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DesignSurface.CreateComponent メソッドの意味・解説 

DesignSurface.CreateComponent メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

メモ : このメソッドは、互換性のために残されています。

コンポーネントインスタンス作成します

名前空間: System.ComponentModel.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

<ObsoleteAttribute("CreateComponent has been replaced by CreateInstance
 and will be removed after Beta2")> _
Protected Friend Overridable
 Function CreateComponent ( _
    componentType As Type _
) As IComponent
[ObsoleteAttribute("CreateComponent has been replaced by CreateInstance and
 will be removed after Beta2")] 
protected internal virtual IComponent CreateComponent (
    Type componentType
)
[ObsoleteAttribute(L"CreateComponent has been replaced by CreateInstance and
 will be removed after Beta2")] 
protected public:
virtual IComponent^ CreateComponent (
    Type^ componentType
)
/** @attribute ObsoleteAttribute("CreateComponent has been replaced by CreateInstance
 and will be removed after Beta2") */ 
protected IComponent CreateComponent (
    Type componentType
)
ObsoleteAttribute("CreateComponent has been replaced by CreateInstance and will
 be removed after Beta2") 
protected internal function
 CreateComponent (
    componentType : Type
) : IComponent

パラメータ

componentType

作成するコンポーネントの型。

戻り値
新規作成したコンポーネント

例外例外
例外種類条件

ArgumentNullException

componentTypenull 参照 (Visual Basic では Nothing) です。

ObjectDisposedException

DesignSurface に追加した IDesignerHost は破棄されています。

解説解説
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DesignSurface クラス
DesignSurface メンバ
System.ComponentModel.Design 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からDesignSurface.CreateComponent メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDesignSurface.CreateComponent メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDesignSurface.CreateComponent メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

DesignSurface.CreateComponent メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DesignSurface.CreateComponent メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS