インデクサを直接サポートしていないプログラミング言語でインデクサを確認できる名前を示します。
この型のすべてのメンバの一覧については、IndexerNameAttribute メンバ を参照してください。
System.Object
System.Attribute
System.Runtime.CompilerServices.IndexerNameAttribute
<AttributeUsage(AttributeTargets.Property)>
<Serializable>
NotInheritable Public Class IndexerNameAttribute Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Property)]
[Serializable]
public sealed class IndexerNameAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Property)]
[Serializable]
public __gc __sealed class IndexerNameAttribute : public Attribute
[JScript]
public
AttributeUsage(AttributeTargets.Property)
Serializable
class IndexerNameAttribute extends Attribute
スレッドセーフ
この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。
解説
この属性は、プロパティに適用できます。
この属性はコンパイラによって直接処理され、コンパイル後はリフレクションによってアクセスできません。
System.Runtime.CompilerServices のクラスはコンパイラ ライタ専用です。
必要条件
名前空間: System.Runtime.CompilerServices
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET
アセンブリ: Mscorlib (Mscorlib.dll 内)
参照
IndexerNameAttribute メンバ | System.Runtime.CompilerServices 名前空間