クリックして評価とフィードバックをお寄せください
MSDN
MSDN ライブラリ
.NET 開発
.NET Framework 3.5
.NET Framework 3.5
System.Reflection 名前空間
AssemblyKeyNameAttribute クラス

  低帯域幅での表示をオンにする
このページは次のバージョンについて記述しています。
Microsoft Visual Studio 2008/.NET Framework 3.5

その他のバージョンについては、以下の情報を参照してください。
.NET Framework クラス ライブラリ
AssemblyKeyNameAttribute クラス

更新 : 2007 年 11 月

厳密な名前を生成するために使用するキー ペアを格納している CSP 内のキー コンテナの名前を指定します。

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

Visual Basic (宣言)
<ComVisibleAttribute(True)> _
<AttributeUsageAttribute(AttributeTargets.Assembly, Inherited := False)> _
Public NotInheritable Class AssemblyKeyNameAttribute _
    Inherits Attribute
Visual Basic (使用法)
Dim instance As AssemblyKeyNameAttribute
C#
[ComVisibleAttribute(true)]
[AttributeUsageAttribute(AttributeTargets.Assembly, Inherited = false)]
public sealed class AssemblyKeyNameAttribute : Attribute
Visual C++
[ComVisibleAttribute(true)]
[AttributeUsageAttribute(AttributeTargets::Assembly, Inherited = false)]
public ref class AssemblyKeyNameAttribute sealed : public Attribute
J#
/** @attribute ComVisibleAttribute(true) */
/** @attribute AttributeUsageAttribute(AttributeTargets.Assembly, Inherited = false) */
public final class AssemblyKeyNameAttribute extends Attribute
JScript
public final class AssemblyKeyNameAttribute extends Attribute

厳密な名前を付けたアセンブリを構築する場合は、この属性または AssemblyKeyFileAttribute のいずれかを指定する必要があります。

たとえば、構文は [assembly:AssemblyKeyNameAttribute("myContainer")] のようになります。

System.Runtime.CompilerServices のクラスはコンパイラ専用です。コンパイラをビルドする場合以外は使用しないでください。

詳細については、共通言語基盤 (CLI: Common Language Infrastructure) のドキュメント、特に「Partition II: Metadata Definition and Semantics」を参照してください。このドキュメントは、http://msdn.microsoft.com/net/ecma/ および http://www.ecma-international.org/publications/standards/Ecma-335.htm で入手できます。

System..::.Object
  System..::.Attribute
    System.Reflection..::.AssemblyKeyNameAttribute
この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

.NET Framework

サポート対象 : 3.5、3.0、2.0、1.1、1.0

.NET Compact Framework

サポート対象 : 3.5、2.0、1.0

XNA Framework

サポート対象 : 2.0、1.0
コミュニティ コンテンツ   コミュニティ コンテンツとは
新しいコンテンツの追加 RSS  注釈
Processing
© 2009 Microsoft Corporation. All rights reserved. 使用条件  |  商標  |  プライバシー
Page view tracker