dotnet / dotnet/dotnet-api-docs
Code example
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Please provide some sample code for .net core how to access the name with GetName()
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 49f19927-1997-0210-2101-af5a9f31d97f
* Version Independent ID: 3480a4a1-abb3-80ea-d621-c184af2b02f0
* Content: [DisplayAttribute.GetName Method (System.ComponentModel.DataAnnotations)](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.displayattribute.getname?view=netframework-4.7.2)
* Content Source: [xml/System.ComponentModel.DataAnnotations/DisplayAttribute.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.ComponentModel.DataAnnotations/DisplayAttribute.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.