Class FieldDisplayNameAttribute
An attribute representing the display name for a field. Useful for adding display names to attributes.
Inherited Members
Namespace: Microsoft.GNS.Roster
Assembly: Microsoft.XboxStudios.SQTech.Roster.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class FieldDisplayNameAttribute : Attribute
Constructors
View SourceFieldDisplayNameAttribute(string)
Initializes a new instance of the FieldDisplayNameAttribute class.
Declaration
public FieldDisplayNameAttribute(string displayName)
Parameters
Type | Name | Description |
---|---|---|
string | displayName | The display name of the field. |
Properties
View SourceDisplayName
Gets the field display name.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
string |