Updates the binary file for the current asset item.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax void UpdateFile(
Stream newFile,
string newExt = null
)
Sub UpdateFile (
newFile As Stream,
Optional newExt As String = Nothing
)
void UpdateFile(
Stream^ newFile,
String^ newExt = nullptr
)
abstract UpdateFile :
newFile : Stream *
?newExt : string
(* Defaults:
let _newExt = defaultArg newExt null
*)
-> unit
Parameters
- newFile
- Type: System.IOStream
Stream of the new binary content. This will be used to update the binary file the asset refers to. - newExt (Optional)
- Type: SystemString
[Missing <param name="newExt"/> documentation for "M:Ingeniux.CMS.IAsset.UpdateFile(System.IO.Stream,System.String)"]
See Also