ResourcesInstance Property
Gets or sets the object of either Resources class or any derived class, which defines string resources used by MailBee.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public static Resources Instance { get; set; }

Property Value

Type: Resources
The object of either Resources class or any derived class, which defines (for Resources class) or overrides (for the derived class) string properties which are used by MailBee to provide textual information (such as log or error messages) to the application.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
Remarks
If custom resources object should be used for a limited period of time, the developer can save the original value of Instance property into the variable, then assign the new value (a reference to the instance of the class derived from Resources), and finally set Instance property back to the saved reference to the original Resources object when custom resources are no longer needed.
See Also