示例#1
0
 /// <summary>
 /// Clears a value from the MultiValueOptionSet provided
 /// </summary>
 /// <param name="control"></param>
 public void ClearValue(MultiValueOptionSet control)
 {
     _client.ClearValue(control);
 }
示例#2
0
 /// <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);
 }
示例#3
0
 /// <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);
 }
示例#4
0
 /// <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));
 }
示例#5
0
 /// <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);
 }
示例#6
0
 /// <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));
 }
示例#7
0
 /// <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);
 }
示例#8
0
 /// <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));
 }
示例#9
0
 /// <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));
 }
示例#10
0
 /// <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);
 }
示例#13
0
 /// <summary>
 /// Clears a value from the MultiValueOptionSet provided
 /// </summary>
 /// <param name="control"></param>
 public void ClearValue(MultiValueOptionSet control)
 {
     _client.ClearValue(control, FormContextType.QuickCreate);
 }
示例#14
0
 /// <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);
 }
示例#15
0
 /// <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));
 }
示例#16
0
 /// <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));
 }