System.Runtime.CompilerServices.IndexerNameAttribute Class

Indicates the name by which an indexer is known in programming languages that do not support indexers directly.

See Also: IndexerNameAttribute Members


[System.AttributeUsage(System.AttributeTargets.Property, Inherited=true)]
public sealed class IndexerNameAttribute : Attribute


You can apply this attribute to properties.

This attribute is directly processed by the compiler, and cannot be accessed after compilation through Reflection.

The classes in System.Runtime.CompilerServices are for compiler writers use only.


Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,