AddressValidatorValidateT Method
Validates an address against the current Address Correction as defined in NetFORUM, suggesting corrections if available.
Namespace: Ignition.Crm.AddressValidationAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public AddressValidationResult<T> Validate<T>(
T customerAddress
)
where T : new(), CustomerAddress
Public Function Validate(Of T As {New, CustomerAddress}) (
customerAddress As T
) As AddressValidationResult(Of T)
public:
generic<typename T>
where T : gcnew(), CustomerAddress
virtual AddressValidationResult<T>^ Validate(
T customerAddress
) sealed
abstract Validate :
customerAddress : 'T -> AddressValidationResult<'T> when 'T : new() and CustomerAddress
override Validate :
customerAddress : 'T -> AddressValidationResult<'T> when 'T : new() and CustomerAddress
- customerAddress T
- The address to validate
- T
- The type of address to validate
AddressValidationResultTA result which indicates if the validation was successful, and (if available) a corrected version of the address.
See the NetFORUM documentation for more information on configuring an Address Correction provider