Class IndexerNameAttribute
Indicates the name by which an indexer is known in programming languages that do not support indexers directly.
Inherited Members
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class IndexerNameAttribute : Attribute
Constructors
IndexerNameAttribute(string)
Initializes a new instance of the IndexerNameAttribute class.
Declaration
public IndexerNameAttribute(string indexerName)
Parameters
Type | Name | Description |
---|---|---|
string | indexerName | The name of the indexer, as shown to other languages. |