DefaultMemberAttribute.MemberName 属性
定义
从属性中获取名称。Gets the name from the attribute.
public:
property System::String ^ MemberName { System::String ^ get(); };
public string MemberName { get; }
member this.MemberName : string
Public ReadOnly Property MemberName As String
属性值
表示成员名称的字符串。A string representing the member name.
注解
没有设置访问器,因为必须向构造函数提供名称。There is no set accessor because the name must be provided to the constructor. 名称不是可选的。The name is not optional.