ResourcesInstance Property |
Gets or sets the object of either
Resources class or any derived
class, which defines string resources used by MailBee.
Namespace: MailBeeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public static Resources Instance { get; set; }
Public Shared Property Instance As Resources
Get
Set
Property Value
Type:
ResourcesThe 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 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