public sealed class IndexerNameAttribute: Attribute
Object
Attribute
IndexerNameAttribute
mscorlib
RuntimeInfrastructure
This attribute is used to indicate the name by which an indexer is known in programming languages that do not support indexers directly.
[Note: This attribute is directly processed by the compiler, and cannot be accessed after compilation through Reflection.]
AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=false)
System.Runtime.CompilerServices Namespace
IndexerNameAttribute Constructors
public IndexerNameAttribute(string indexerName)
Constructs and initializes a new instance of the IndexerNameAttribute class with the specified indexer name value.
- indexerName
- A String value that specifies the name by which this indexer is known in programming languages that do not support indexers directly.
System.Runtime.CompilerServices.IndexerNameAttribute Class, System.Runtime.CompilerServices Namespace