Share via


DefaultMemberAttribute.MemberName Property

Gets the member name from the current attribute.

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

Syntax

public string MemberName { get; }

Property Value

A string that represents the member name.

Remarks

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

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

DefaultMemberAttribute Class
DefaultMemberAttribute Members
System.Reflection Namespace