AssemblyBuilder.GetManifestResourceStreamとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > AssemblyBuilder.GetManifestResourceStreamの意味・解説 

AssemblyBuilder.GetManifestResourceStream メソッド (Type, String)

このアセンブリから、指定された型の名前空間によってスコープが指定されている、指定されたマニフェスト リソースを読み込みます。

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

Public Overrides Function
 GetManifestResourceStream ( _
    type As Type, _
    name As String _
) As Stream
Dim instance As AssemblyBuilder
Dim type As Type
Dim name As String
Dim returnValue As Stream

returnValue = instance.GetManifestResourceStream(type, name)
public override Stream GetManifestResourceStream (
    Type type,
    string name
)
public:
virtual Stream^ GetManifestResourceStream (
    Type^ type, 
    String^ name
) override
public Stream GetManifestResourceStream (
    Type type, 
    String name
)
public override function GetManifestResourceStream
 (
    type : Type, 
    name : String
) : Stream

パラメータ

type

マニフェスト リソース名のスコープを指定するために名前空間を使用する型。

name

要求されているマニフェスト リソースの名前。

戻り値
マニフェスト リソースを表す Stream。

例外例外
例外の種類条件

NotSupportedException

このメソッドは、現在サポートされていません。

SecurityException

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

解説解説
使用例使用例

type の完全名が "MyNameSpace.MyClasses" で、name が "Dot" の場合、GetManifestResourceStream は、MyNameSpace.Dot という名前のリソースを検索します。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

AssemblyBuilder.GetManifestResourceStream メソッド (String)

このアセンブリから、指定されたマニフェスト リソースを読み込みます。

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

Public Overrides Function
 GetManifestResourceStream ( _
    name As String _
) As Stream
Dim instance As AssemblyBuilder
Dim name As String
Dim returnValue As Stream

returnValue = instance.GetManifestResourceStream(name)
public override Stream GetManifestResourceStream (
    string name
)
public:
virtual Stream^ GetManifestResourceStream (
    String^ name
) override
public Stream GetManifestResourceStream (
    String name
)
public override function GetManifestResourceStream
 (
    name : String
) : Stream

パラメータ

name

要求されているマニフェスト リソースの名前。

戻り値
マニフェスト リソースを表す Stream。

例外例外
例外の種類条件

NotSupportedException

このメソッドは、現在サポートされていません。

SecurityException

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

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

AssemblyBuilder.GetManifestResourceStream メソッド

このアセンブリから、指定されたマニフェスト リソースを読み込みます。
オーバーロードの一覧オーバーロードの一覧

名前 説明
AssemblyBuilder.GetManifestResourceStream (String) このアセンブリから、指定されたマニフェスト リソースを読み込みます。
AssemblyBuilder.GetManifestResourceStream (Type, String) このアセンブリから、指定された型の名前空間によってスコープが指定されている、指定されたマニフェスト リソースを読み込みます。
参照参照

関連項目

AssemblyBuilder クラス
AssemblyBuilder メンバ
System.Reflection.Emit 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「AssemblyBuilder.GetManifestResourceStream」の関連用語

AssemblyBuilder.GetManifestResourceStreamのお隣キーワード
検索ランキング

   

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



AssemblyBuilder.GetManifestResourceStreamのページの著作権

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

©2026 GRAS Group, Inc.RSS