ContainsSubString.withPropertyAndValue constructor

ContainsSubString.withPropertyAndValue(
  1. PropertyDefinitionBase propertyDefinition,
  2. String value
)
Initializes a new instance of the The definition of the property that is being compared. Property definitions are available as static members from schema classes (for example, EmailMessageSchema.Subject, AppointmentSchema.Start, ContactSchema.GivenName, etc.) The value to compare with.

Implementation

ContainsSubString.withPropertyAndValue(
    PropertyDefinitionBase propertyDefinition, String value)
    : super.withProperty(propertyDefinition) {
  this.value = value;
}