Create a new SiteContent entry

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
ISiteContent Create(
	string name,
	string value
)
Visual Basic
Function Create ( _
	name As String, _
	value As String _
) As ISiteContent
Visual C++
ISiteContent^ Create(
	String^ name, 
	String^ value
)

Parameters

name
Type: System..::..String
Unique name of the entry. If already exists, ArgumentException will be thrown
value
Type: System..::..String
value of the SiteContent to be createdCrea

Return Value

te SiteContent

Exceptions

ExceptionCondition
[!:System.ArgumentNulException]Thrown if name parameter is null or empty
System..::..ArgumentExceptionThrown if the name provided already exists in SiteContent collection

See Also