Error from MSDN——No4. Login.UserName
(1)错误页面路径:
l ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref16/html/P_System_Web_UI_WebControls_Login_UserName.htm
(2)页面内容:
Note: This property is new in the .NET Framework version 2.0.
Gets(错误在此) the user name entered by the user.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Syntax
Visual Basic (Declaration) |
Public Overridable Property UserName As String |
Visual Basic (Usage) |
Dim instance As Login Dim value As String value = instance.UserName instance.UserName = value |
C# |
public virtual string UserName { get; set; } |
C++ |
public: virtual property String^ UserName { String^ get (); void set (String^ value); } |
J# |
/** @property */ public String get_UserName () /** @property */ public void set_UserName (String value) |
JScript |
public function get UserName () : String public function set UserName (value : String) |
Property Value
The user name entered by the user. The default is Empty.
(3)简要说明:
Login控件的UserName属性应该是可读可写的。然而,说明文字中标注仅为只读。