User.Email - Propriété
Gets or sets a value that specifies the e-mail address of the user.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property Email As String
Get
Set
'Utilisation
Dim instance As User
Dim value As String
value = instance.Email
instance.Email = value
public string Email { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing the e-mail address of the user.
Exceptions
Exception | Condition |
---|---|
[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. |
Remarques
It must not be une référence Null (Rien dans Visual Basic).
Its length must be equal to or less than 255.