Add method

void Add(
  1. PropertyDefinitionBase property
)
Implements an implicit conversion between PropertySet and BasePropertySet. The BasePropertySet value to convert from. Adds the specified property to the property set. The property to add.

Implementation

// static implicit operator PropertySet(BasePropertySet basePropertySet)
//        {
//            return new PropertySet(basePropertySet);
//        }

/// <summary>
/// Adds the specified property to the property set.
/// </summary>
/// <param name="property">The property to add.</param>
void Add(PropertyDefinitionBase property) {
  this._ThrowIfReadonly();
//            EwsUtilities.ValidateParam(property, "property");

  if (!this._additionalProperties.contains(property)) {
    this._additionalProperties.add(property);
  }
}