ResXResourceSetSave(Stream, Boolean, Boolean, String) Method
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public void Save(
Stream stream,
bool compatibleFormat = false,
bool forceEmbeddedResources = false,
string? newBasePath = null
)
Public Sub Save (
stream As Stream,
Optional compatibleFormat As Boolean = false,
Optional forceEmbeddedResources As Boolean = false,
Optional newBasePath As String = Nothing
)
public:
virtual void Save(
Stream^ stream,
bool compatibleFormat = false,
bool forceEmbeddedResources = false,
String^ newBasePath = nullptr
) sealed
abstract Save :
stream : Stream *
?compatibleFormat : bool *
?forceEmbeddedResources : bool *
?newBasePath : string
(* Defaults:
let _compatibleFormat = defaultArg compatibleFormat false
let _forceEmbeddedResources = defaultArg forceEmbeddedResources false
let _newBasePath = defaultArg newBasePath null
*)
-> unit
override Save :
stream : Stream *
?compatibleFormat : bool *
?forceEmbeddedResources : bool *
?newBasePath : string
(* Defaults:
let _compatibleFormat = defaultArg compatibleFormat false
let _forceEmbeddedResources = defaultArg forceEmbeddedResources false
let _newBasePath = defaultArg newBasePath null
*)
-> unit
- stream Stream
- The stream to which you want to save.
- compatibleFormat Boolean (Optional)
- If set to , the result .resx file can be read by the System.Resources.ResXResourceReader class
and the Visual Studio Resource Editor. If set to , the result .resx is often shorter, and the values can be deserialized with better accuracy (see the remarks at ResXResourceWriter),
but the result can be read only by ResXResourceReader. This parameter is optional.
Default value: . - forceEmbeddedResources Boolean (Optional)
- If set to the resources using a file reference (ResXFileRef) will be replaced by embedded resources. This parameter is optional.
Default value: - newBasePath String (Optional)
- A new base path for the file paths specified in the ResXFileRef objects. If ,
the original BasePath will be used. The file paths in the saved .resx file will be relative to the newBasePath.
Applicable if forceEmbeddedResources is . This parameter is optional.
Default value: .
IExpandoResourceSetSave(Stream, Boolean, Boolean, String)