Export (0) Print
Expand All

DefaultMemberAttribute.MemberName Property

Gets the name from the attribute.

[Visual Basic]
Public ReadOnly Property MemberName As String
[C#]
public string MemberName {get;}
[C++]
public: __property String* get_MemberName();
[JScript]
public function get MemberName() : String;

Property Value

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

DefaultMemberAttribute Class | DefaultMemberAttribute Members | System.Reflection Namespace

Show:
© 2014 Microsoft