PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Adds an Asset Item.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Asset.AddItemFromXml")]
[(.Level1)]
public static bool AddAssetItemFromXml(
	 context,
	 xmlData
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Asset.AddItemFromXml")> _
<(.Level1)> _
Public Shared Function AddAssetItemFromXml ( _
	context As , _
	xmlData As  _
) As 

Parameters

context
IRenderContext
The Context.
xmlData
XmlData
The Xml data containing the data for the new asset item.

Return Value

true when the asset item has been added; otherwise false.

See Also

Advanced