ISymbol.MetadataName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of a symbol as it appears in metadata. Most of the time, this is the same as the Name property, with the following exceptions:
- The metadata name of generic types includes the "`1", "`2" etc. suffix that indicates the number of type parameters (it does not include, however, names of containing types or namespaces).
- The metadata name of explicit interface names have spaces removed, compared to the name property.
- The length of names is limited to not exceed metadata restrictions.
public:
property System::String ^ MetadataName { System::String ^ get(); };
public string MetadataName { get; }
member this.MetadataName : string
Public ReadOnly Property MetadataName As String
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.