MembershipUser.Comment 属性

定义

获取或设置成员资格用户的应用程序特定信息。Gets or sets application-specific information for the membership user.

public:
 virtual property System::String ^ Comment { System::String ^ get(); void set(System::String ^ value); };
public virtual string Comment { get; set; }
member this.Comment : string with get, set
Public Overridable Property Comment As String

属性值

成员资格用户的应用程序特定信息。Application-specific information for the membership user.

注解

Comment 属性可用于存储特定于应用程序的成员资格用户的自定义信息。The Comment property can be used to store custom information for a membership user that is specific to an application. MembershipUserComment 属性中可存储的信息量由 ProviderName 属性所引用的成员资格提供程序定义。The amount of information that can be stored in the Comment property for a MembershipUser is defined by the membership provider referenced by the ProviderName property. 如果你的应用程序需要更多的空间来存储超过成员资格提供程序允许的用户信息,则可以实现自定义成员资格提供程序,或使用用户 System.Web.ProfileIf your application requires more space to store user information than is allowed by the membership provider, you can implement a custom membership provider, or use the user System.Web.Profile.

适用于

另请参阅