IFormComponentPropertiesMapperToFormFieldInfo Method |
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
SyntaxFormFieldInfo ToFormFieldInfo(
FormComponentProperties formComponentProperties,
string componentIdentifier
)
Parameters
- formComponentProperties
- Type: Kentico.Forms.Web.MvcFormComponentProperties
Form component properties to be mapped. - componentIdentifier
- Type: SystemString
Identifier of corresponding FormComponentDefinition to be stored along with formComponentProperties.
Return Value
Type:
FormFieldInfoReturns an instance of
FormFieldInfo which corresponds to given properties and type identifier.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when formComponentProperties is null. |
See Also