Preview property

PropertyDefinition Preview
getter/setter pair
Defines the PolicyTag property. Defines the ArchiveTag property. Defines the RetentionDate property. Defines the Preview property.

Implementation

// static PropertyDefinition PolicyTag =
//            new ComplexPropertyDefinition<PolicyTag>.withUriAndFlags(
//                XmlElementNames.PolicyTag,
//                ItemSchemaFieldUris.PolicyTag,
//                [PropertyDefinitionFlags.CanSet, PropertyDefinitionFlags.CanUpdate, PropertyDefinitionFlags.CanDelete, PropertyDefinitionFlags.CanFind],
//                ExchangeVersion.Exchange2013,
//                () { return new PolicyTag(); });

/// <summary>
/// Defines the ArchiveTag property.
/// </summary>
// static PropertyDefinition ArchiveTag =
//            new ComplexPropertyDefinition<ArchiveTag>(
//                XmlElementNames.ArchiveTag,
//                ItemSchemaFieldUris.ArchiveTag,
//                PropertyDefinitionFlags.CanSet | PropertyDefinitionFlags.CanUpdate | PropertyDefinitionFlags.CanDelete | PropertyDefinitionFlags.CanFind,
//                ExchangeVersion.Exchange2013,
//                () { return new ArchiveTag(); });

/// <summary>
/// Defines the RetentionDate property.
/// </summary>
// static PropertyDefinition RetentionDate =
//            new DateTimePropertyDefinition(
//                XmlElementNames.RetentionDate,
//                ItemSchemaFieldUris.RetentionDate,
//                PropertyDefinitionFlags.CanFind,
//                ExchangeVersion.Exchange2013,
//                true);

/// <summary>
/// Defines the Preview property.
/// </summary>
static PropertyDefinition Preview = new StringPropertyDefinition(
    XmlElementNames.Preview,
    _ItemSchemaFieldUris.Preview,
    [PropertyDefinitionFlags.CanFind],
    ExchangeVersion.Exchange2013);