Share via


MemberName Property

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

Gets the name from the attribute.

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

Syntax

'Declaration
Public ReadOnly Property MemberName As String
public string MemberName { get; }
public:
property String^ MemberName {
    String^ get ();
}
member MemberName : string with get
function get MemberName () : String

Property Value

Type: System. . :: . .String
A string representing the member name.

Remarks

There is no set accessor because the name must be provided to the constructor. The name is not optional.

.NET Framework Security

See Also

Reference

DefaultMemberAttribute Class

System.Reflection Namespace