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

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

FormatterServices.GetSafeUninitializedObject メソッド

指定したオブジェクト型新しインスタンス作成します

名前空間: System.Runtime.Serialization
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Shared Function GetSafeUninitializedObject
 ( _
    type As Type _
) As Object
Dim type As Type
Dim returnValue As Object

returnValue = FormatterServices.GetSafeUninitializedObject(type)
public static Object GetSafeUninitializedObject
 (
    Type type
)
public:
static Object^ GetSafeUninitializedObject (
    Type^ type
)
public static Object GetSafeUninitializedObject
 (
    Type type
)
public static function GetSafeUninitializedObject
 (
    type : Type
) : Object

パラメータ

type

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

戻り値
指定した型の、0 に設定されオブジェクト

例外例外
例外種類条件

ArgumentNullException

type パラメータnull 参照 (Visual Basic では Nothing) です。

SerializationException

type パラメータが、有効な共通言語ランタイム型ではありません。

SecurityException

呼び出し元に必要なアクセス許可がありません。

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


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

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

辞書ショートカット

すべての辞書の索引

「FormatterServices.GetSafeUninitializedObject メソッド」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS