Owner property

ServiceObject? get Owner
override
The owner of this attachment collection.

Implementation

ServiceObject? get Owner => this._owner;
set Owner (ServiceObject? value)
override
Gets or sets the owner.

Implementation

set Owner(ServiceObject? value) {
  Item? item = value as Item?;

  EwsUtilities.Assert(
      item is Item?,
      "AttachmentCollection.IOwnedProperty.set_Owner",
      "value is not a descendant of ItemBase");

  this._owner = item;
}