IAssetManagerMoveAsset Method
|
Moves an asset from its current location to a new target
Asset Folder.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IAsset 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
- Type: Ingeniux.CMSIAsset
The Asset to be moved. - targetParent
- Type: Ingeniux.CMSIAssetFolder
The new parent Asset Folder into which the asset will be moved. - newAssetName
- Type: SystemString
The name for the new Asset. - overwrite
- Type: SystemBoolean
Whether to replace an existing Asset of the same name with the newly created asset.
Return Value
Type:
IAssetThe "source"
Asset after it has been moved.
See Also