IAssetManagerMoveAsset Method
|
Moves an asset from its current location to a new target
Asset Folder.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIAsset MoveAsset(
IAsset source,
IAssetFolder targetParent,
string newAssetName,
bool overwrite
)
Function MoveAsset (
source As IAsset,
targetParent As IAssetFolder,
newAssetName As String,
overwrite As Boolean
) As IAsset
IAsset^ MoveAsset(
IAsset^ source,
IAssetFolder^ targetParent,
String^ newAssetName,
bool overwrite
)
abstract MoveAsset :
source : IAsset *
targetParent : IAssetFolder *
newAssetName : string *
overwrite : bool -> IAsset Parameters
- source IAsset
- The Asset to be moved.
- targetParent IAssetFolder
- The new parent Asset Folder into which the asset will be moved.
- newAssetName String
- The name for the new Asset.
- overwrite Boolean
- Whether to replace an existing Asset of the same name with the newly created asset.
Return Value
IAssetThe "source"
Asset after it has been moved.
See Also