public bool SafeMode { get; set; }
Public Property SafeMode As Boolean
Get
Set
public:
virtual property bool SafeMode {
bool get () sealed;
void set (bool value) sealed;
}
abstract SafeMode : bool with get, set
override SafeMode : bool with get, set
When SafeMode is , then GetObject and GetMetaObject methods return ResXDataNode instances instead of deserialized objects. You can retrieve the deserialized objects by calling the ResXDataNode.GetValue or ResXDataNode.GetValueSafe methods.
When SafeMode is , then GetString and GetMetaString methods will return a String also for non-string objects. For non-string values the raw XML string value will be returned.
When SafeMode is , then GetStream and GetMetaStream methods will return a MemoryStream for any object. For values, which are neither MemoryStream, nor byte[] instances these methods return a stream wrapper for the same string value that is returned by the GetString/GetMetaString methods.