/// <summary> /// Clears a value from the MultiValueOptionSet provided /// </summary> /// <param name="control"></param> public void ClearValue(MultiValueOptionSet control) { _client.ClearValue(control); }
/// <summary> /// Sets/Removes the value from the multselect type control in the header /// </summary> /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param> public void SetHeaderValue(MultiValueOptionSet control) { _client.SetHeaderValue(control); }
/// <summary> /// Sets/Removes the value from the multselect type control /// </summary> /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param> /// <param name="removeExistingValues">False - Values will be set. True - Values will be removed</param> public void SetValue(MultiValueOptionSet option, bool removeExistingValues = false) { _client.SetValue(option, removeExistingValues); }
/// <summary> /// Gets the value of a MultiValueOptionSet from the header /// </summary> /// <param name="option">The option you want to Get.</param> public MultiValueOptionSet GetHeaderValue(MultiValueOptionSet control) { return(_client.GetHeaderValue(control)); }
/// <summary> /// Gets the value of a MultiValueOptionSet. /// </summary> /// <param name="option">The option you want to set.</param> public void GetValue(MultiValueOptionSet option) { _client.GetValue(option); }
/// <summary> /// Returns the contacts in the To, CC or Bcc line in Email page as a MultiValueOptionSet object. /// </summary> /// <param name="emailOptions">Object of type MultiValueOptionSet containing name of the Field</param> /// <returns>MultiValueOptionSet object where the values field contains all the contact names</returns> public MultiValueOptionSet GetEmail(MultiValueOptionSet emailOptions) { return(_client.GetValue(emailOptions)); }
/// <summary> /// Sets the value of a MultiValueOptionSet field /// </summary> /// <param name="field">MultiValueOptionSet with the schema name of the field to retrieve</param> public void SetValue(MultiValueOptionSet option, bool removeExistingValues = false) { _client.SetValue(option, FormContextType.BusinessProcessFlow, removeExistingValues); }
/// <summary> /// Gets the value from the multselect type control /// </summary> /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param> /// <param name="removeExistingValues">False - Values will be set. True - Values will be removed</param> public MultiValueOptionSet GetValue(MultiValueOptionSet field) { return(_client.GetValue(field)); }
/// <summary> /// Opens the multiselect control and removes the contacts to the To, CC or BCC line specified in the /// MultiValueOptionSet object. /// </summary> /// <param name="emailOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be removed</param> /// <returns></returns> public bool RemoveEmail(MultiValueOptionSet emailOptions) { return(_client.SetValue(emailOptions, FormContextType.Entity, true)); }
/// <summary> /// Clears a value from the MultiValueOptionSet provided /// </summary> /// <param name="control"></param> public void ClearValue(MultiValueOptionSet control) { _client.ClearValue(control, FormContextType.Entity); }
/// <summary> /// Sets/Removes the value from the multselect type control /// </summary> /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param> /// <param name="removeExistingValues">False - Values will be set. True - Values will be removed</param> public void SetValue(MultiValueOptionSet option, bool removeExistingValues = false) { _client.SetValue(option, FormContextType.Dialog, removeExistingValues); }
/// <summary> /// Opens the multiselect control and adds the contacts to the To, CC or BCC line. /// </summary> /// <param name="toOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be set</param> /// <param name="removeExistingValues">Remove any existing values in the To, CC, or BCC lines, if present</param> public void AddEmailContacts(MultiValueOptionSet toOptions, bool removeExistingValues = false) { _client.SetValue(toOptions, FormContextType.Entity, removeExistingValues); }
/// <summary> /// Clears a value from the MultiValueOptionSet provided /// </summary> /// <param name="control"></param> public void ClearValue(MultiValueOptionSet control) { _client.ClearValue(control, FormContextType.QuickCreate); }
/// <summary> /// Opens the multiselect control and adds the contacts to the To, CC or BCC line. /// </summary> /// <param name="toOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be set</param> public void AddEmailContacts(MultiValueOptionSet toOptions) { _client.SetValue(toOptions); }
/// <summary> /// Opens the multiselect control and removes the contacts to the To, CC or BCC line specified in the /// MultiValueOptionSet object. /// </summary> /// <param name="emailOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be removed</param> /// <returns></returns> public bool RemoveEmail(MultiValueOptionSet emailOptions) { return(_client.SetValue(emailOptions, true)); }
/// <summary> /// Gets the value of a MultiValueOptionSet. /// </summary> /// <param name="option">The option you want to set.</param> public MultiValueOptionSet GetValue(MultiValueOptionSet option) { return(_client.GetValue(option)); }