Click or drag to resize
IVisibilityConditionConfigurationXmlSerializerSerialize Method
Serializes a visibility condition configuration to an XML string.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
string Serialize(
	VisibilityConditionConfiguration visibilityConditionConfiguration
)

Parameters

visibilityConditionConfiguration
Type: Kentico.Forms.Web.MvcVisibilityConditionConfiguration
Visibility condition configuration to be serialized.

Return Value

Type: String
Returns an XML representation of the condition.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when visibilityConditionConfiguration is null.
See Also