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

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

ClientBuildManager.CreateObject メソッド

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

ASP.NET ランタイムのアプリケーション ドメインにオブジェクトを作成します。

名前空間: System.Web.Compilation
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Function CreateObject ( _
    type As Type, _
    failIfExists As Boolean _
) As IRegisteredObject
Dim instance As ClientBuildManager
Dim type As Type
Dim failIfExists As Boolean
Dim returnValue As IRegisteredObject

returnValue = instance.CreateObject(type, failIfExists)
public IRegisteredObject CreateObject (
    Type type,
    bool failIfExists
)
public:
IRegisteredObject^ CreateObject (
    Type^ type, 
    bool failIfExists
)
public IRegisteredObject CreateObject (
    Type type, 
    boolean failIfExists
)
public function CreateObject (
    type : Type, 
    failIfExists : boolean
) : IRegisteredObject

パラメータ

type

作成するオブジェクトの型。

failIfExists

ASP.NET ランタイムのアプリケーション ドメインにオブジェクトが既に作成されていたときに例外をスローする場合は true。それ以外の場合は false。

戻り値
IRegisteredObject。

例外例外
例外の種類条件

ArgumentNullException

type が null 参照 (Visual Basic では Nothing) です。

InvalidOperationException

オブジェクトがアプリケーション ドメインに既に存在しており、failIfExists がtrue です。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ClientBuildManager クラス
ClientBuildManager メンバ
System.Web.Compilation 名前空間
BuildProvider クラス
AssemblyBuilder クラス
その他の技術情報
ASP.NET Web サイトのプリコンパイルの概要



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



ClientBuildManager.CreateObject メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS