IValidationRuleConfigurationsXmlSerializerDeserialize Method |
Deserializes a collection of validation rule configurations from an XML string.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax List<ValidationRuleConfiguration> Deserialize(
string validationRuleConfigurationsXml
)
Parameters
- validationRuleConfigurationsXml
- Type: SystemString
XML representation of the rule configurations to be deserialized.
Return Value
Type:
ListValidationRuleConfigurationReturns a collection of validation rule configurations.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown when validationRuleConfigurationsXml is null or an empty string. |
See Also