Click or drag to resize
FormComponentPropertiesMapperGetComponentIdentifier Method
Gets FormComponentDefinition identifier stored in formFieldInfo.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public virtual string GetComponentIdentifier(
	FormFieldInfo formFieldInfo
)

Parameters

formFieldInfo
Type: CMS.FormEngineFormFieldInfo
Form field info for which to obtain FormComponentDefinition's identifier.

Return Value

Type: String
Return identifier obtained from formFieldInfo.

Implements

IFormComponentPropertiesMapperGetComponentIdentifier(FormFieldInfo)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when formFieldInfo is null.
InvalidOperationExceptionThrown when formFieldInfo does not specify a form component identifier.
See Also