FormComponentDefinition Constructor |
Namespace: Kentico.Forms.Web.Mvc
public FormComponentDefinition( string identifier, Type formComponentType, string name )
Exception | Condition |
---|---|
ArgumentException | Specified identifier is null, an empty string or identifier does not specify a valid code name. -or- Specified formComponentType does not inherit FormComponentTProperties, TValue, is an abstract type or is a generic type which is not constructed. -or- Specified name is null or an empty string. |
ArgumentException | Thrown when formComponentType is null. |