Name Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the name of the current member.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

abstract Name : string

Property Value

Type: System..::..String
A String containing the name of this member.

Only the simple name of the member is returned, not the fully qualified name.

To get the Name property, get the class Type. From the Type, get the MemberInfo array. From a MemberInfo element of the array, obtain the Name property.

Show: