Skip to main content

Class NameAttribute

Marks the public name of a command, module, or parameter.

Assembly: Discord.Net.Commands.dll​
View Source​
Declaration
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class NameAttribute : Attribute, _Attribute

Properties​

Text​

Gets the name of the command.

View Source​
Declaration
public string Text { get; }

Implements​

  • System.Runtime.InteropServices._Attribute