EnvelopeSafeMode Property |
Gets or sets whether empty values instead of a null reference (Nothing in Visual Basic) should be
returned when the corresponding fields are not available in the data received from the server.
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool SafeMode { get; set; }
Public Property SafeMode As Boolean
Get
Set
Property Value
Type:
BooleanIf
true, string properties of
Envelope object will return empty string
and e-mail address and flags related properties will return
empty objects when the corresponding information is not available in the envelope data; otherwise,
a null reference will be returned in such cases. The default value is
true.
Remarks The developer may set this property to false if the application needs to
distinguish empty values from missing values.
This property may affect return values of the following properties:
Note |
---|
This property is not connected with Global.SafeMode property in any way. |
See Also