System.Reflection.MemberInfo.Name Property

Gets the name of the current member.

Syntax

public abstract string Name { get; }

Value

A string containing the name of the member reflected by the current instance.

Remarks

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

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

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0