Validate Property
Autodesk.DataManagement.Client.Framework.Vault.Forms.Settings›SelectEntitySettings.SelectEntityOptionsExtensibility
Gets or sets the validation delegate. If provided, this is called when the action button is clicked before the form is closed.
Syntax
public System.Func<SelectEntityResults,bool> Validate {get; set;}Public Property Validate As System.Func(Of SelectEntityResults,Boolean)Example
bool selectEntityValidate(Vault.Forms.Results.SelectEntityResults results)
{
foreach(Vault.Currency.Entities.IEntity entity in results.SelectedEntities)
{
//do validation
if(notValid)
return false;
}
return true;
}