Exemplo n.º 1
0
 /// <summary>
 /// Retrieves the value of a BooleanItem field.
 /// </summary>
 /// <param name="field">BooleanItem with the schema name of the field to retrieve.</param>
 public bool GetValue(BooleanItem field)
 {
     return _client.GetValue(field);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets the value of a Boolean Item.
 /// </summary>
 /// <param name="option">The option you want to set.</param>
 public void SetValue(BooleanItem optionSet)
 {
     _client.SetValue(optionSet);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Sets the value of a BooleanItem in the header
 /// </summary>
 /// <param name="control">The boolean field you want to set.</param>
 public void SetHeaderValue(BooleanItem control)
 {
     _client.SetHeaderValue(control);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Gets the value of a Boolean Item.
 /// </summary>
 /// <param name="option">The boolean field name.</param>
 public bool GetValue(BooleanItem option)
 {
     return(_client.GetValue(option));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Gets the value of a Boolean Item from the header
 /// </summary>
 /// <param name="control">The boolean field you want to Get.</param>
 /// <example>xrmApp.Entity.GetHeaderValue(new BooleanItem { Name = "preferredcontactmethodcode"}); </example>
 public bool GetHeaderValue(BooleanItem control)
 {
     return(_client.GetHeaderValue(control));
 }
 /// <summary>
 /// Sets the value of a Boolean Item.
 /// </summary>
 /// <param name="option">The boolean field name.</param>
 public void SetValue(BooleanItem option)
 {
     _client.SetValue(option, FormContextType.Dialog);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Sets the value of a Boolean Item in the quick create form.
 /// </summary>
 /// <param name="option">The option you want to set.</param>
 public void SetValue(BooleanItem optionSet)
 {
     _client.SetValue(optionSet, FormContextType.QuickCreate);
 }