SetSubject method

  1. @override
void SetSubject(
  1. String? subject
)
override
Sets the subject. The subject.

Implementation

@override
void SetSubject(String? subject) {
  // Set is disabled in client API even though it is implemented in protocol for Item.Subject.
  // Setting Subject out of sync with DisplayName breaks interop with OLK.
  throw new ServiceObjectPropertyException.withMessage(
      "Strings.PropertyIsReadOnly", ItemSchema.Subject);
}