Assembly.FullNameとは? わかりやすく解説

Assembly.FullName プロパティ

アセンブリの表示名を取得します。

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

解説解説
使用例使用例

アセンブリの完全な名前を取得する例を次に示します。

    Dim SampleAssembly As [Assembly]
    ' Instantiate a target object.
    Dim Integer1 As New
 Int32()
    Dim Type1 As Type
    ' Set the Type instance to the target class type.
    Type1 = Integer1.GetType()
    ' Instantiate an Assembly class to the assembly housing the Integer
 type.  
    SampleAssembly = [Assembly].GetAssembly(Integer1.GetType())
    ' Write the display name of assembly including base name and version.
    Console.WriteLine(("FullName=" + SampleAssembly.FullName))
End Sub 'Snippet2
Assembly SampleAssembly;
// Instantiate a target object.
Int32 Integer1 = new Int32();
Type Type1;
// Set the Type instance to the target class type.
Type1 = Integer1.GetType();
// Instantiate an Assembly class to the assembly housing the Integer
 type.  
SampleAssembly = Assembly.GetAssembly(Integer1.GetType());
// Write the display name of assembly including base name and version.
Console.WriteLine("FullName=" + SampleAssembly.FullName);
Assembly^ SampleAssembly;
// Instantiate a target object.
Int32 Integer1(0);
Type^ Type1;
// Set the Type instance to the target class type.
Type1 = Integer1.GetType();
// Instantiate an Assembly class to the assembly housing the Integer
 type.  
SampleAssembly = Assembly::GetAssembly( Integer1.GetType() );
// Write the display name of assembly including base name and version.
Console::WriteLine( "FullName= {0}", SampleAssembly->FullName );
var SampleAssembly : Assembly;
// Instantiate a target object.
var Integer1 : Int32 = 0;
var Type1 : Type;
// Set the Type instance to the target class type.
Type1 = Integer1.GetType();
// Instantiate an Assembly class to the assembly housing the Integer
 type.  
SampleAssembly = Assembly.GetAssembly(Integer1.GetType());
// Write the display name of assembly including base name and version.
Console.WriteLine("FullName=" + SampleAssembly.FullName);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

_Assembly.FullName プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

COM オブジェクトに、FullName プロパティへのバージョンに依存しないアクセスが用意されています。

このプロパティは、CLS に準拠していません。  

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

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「Assembly.FullName」の関連用語

Assembly.FullNameのお隣キーワード
検索ランキング

   

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



Assembly.FullNameのページの著作権

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

©2026 GRAS Group, Inc.RSS