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)
Syntax
'Declaration
Public MustOverride ReadOnly Property Name As String
public abstract string Name { get; }
public:
virtual property String^ Name {
String^ get () abstract;
}
abstract Name : string with get
abstract function get Name () : String
Property Value
Type: System. . :: . .String
A String containing the name of this member.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.