Microsoft Silverlight will reach end of support after October 2021. Learn more.
Retrieves the localized or non-localized value of the Name property.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
'Declaration Public Function GetName As String
public string GetName()
Do not use the get accessor of the Name property to retrieve the text to display in your Silverlight application. Instead, use the GetName method to retrieve the name to display. The GetName method returns either the literal non-localized string or the localized string when a resource type has been specified.
Supported in: 5, 4, 3
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.