User.Email 属性
Gets or sets a value that specifies the e-mail address of the user.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Property Email As String
Get
Set
用法
Dim instance As User
Dim value As String
value = instance.Email
instance.Email = value
public string Email { get; set; }
属性值
类型:System.String
Returns a String instance representing the e-mail address of the user.
异常
异常 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | The property is read when either the user object was not successfully initialized or the user could not be found. Error code: -1. The property is set when either the user object was not successfully initialized or the user could not be found. Error code: -1. |
备注
It must not be 空引用(无 在 Visual Basic 中).
Its length must be equal to or less than 255.