CustomFieldData.ValidateCustomFieldProperties
Method
Description:
Validates the custom field properties.
Validates the custom field properties.
Parameters
| Parameter | Type | Description |
|---|---|---|
| customFieldProperties | ICustomFieldProperties | An instance of <a href="c468ee3f-5627-b99b-9219-cd807539e228.htm">ICustomFieldProperties</a> which represents the properties of this field. |
Return Value
| Type | Description |
|---|---|
| String | If the properties are valid, an empty string will be returned. If the properties are not valid, a non-empty string which describes the error will be returned. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Can't validate the properties of a CustomFieldData of a SchedulableField (which is not added to a schedule). |