Instance property

EmailMessageSchema Instance
getter/setter pair
Defines the ReceivedBy property. Defines the ReceivedRepresenting property. Defines the ApprovalRequestData property. Defines the VotingInformation property. Defines the Likers property

Implementation

// static PropertyDefinition ReceivedBy =
//            new ContainedPropertyDefinition<EmailAddress>(
//                XmlElementNames.ReceivedBy,
//                EmailMessageSchemaFieldUris.ReceivedBy,
//                XmlElementNames.Mailbox,
//                PropertyDefinitionFlags.CanFind,
//                ExchangeVersion.Exchange2007_SP1,
//                () { return new EmailAddress(); });

/// <summary>
/// Defines the ReceivedRepresenting property.
/// </summary>
// static PropertyDefinition ReceivedRepresenting =
//            new ContainedPropertyDefinition<EmailAddress>(
//                XmlElementNames.ReceivedRepresenting,
//                EmailMessageSchemaFieldUris.ReceivedRepresenting,
//                XmlElementNames.Mailbox,
//                PropertyDefinitionFlags.CanFind,
//                ExchangeVersion.Exchange2007_SP1,
//                () { return new EmailAddress(); });

/// <summary>
/// Defines the ApprovalRequestData property.
/// </summary>
// static PropertyDefinition ApprovalRequestData =
//            new ComplexPropertyDefinition<ApprovalRequestData>.withUri(
//                XmlElementNames.ApprovalRequestData,
//                EmailMessageSchemaFieldUris.ApprovalRequestData,
//                ExchangeVersion.Exchange2013,
//                () { return new ApprovalRequestData(); });

/// <summary>
/// Defines the VotingInformation property.
/// </summary>
// static PropertyDefinition VotingInformation =
//            new ComplexPropertyDefinition<VotingInformation>.withUri(
//                XmlElementNames.VotingInformation,
//                EmailMessageSchemaFieldUris.VotingInformation,
//                ExchangeVersion.Exchange2013,
//                () { return new VotingInformation(); });

/// <summary>
/// Defines the Likers property
/// </summary>
// static PropertyDefinition Likers =
//            new ComplexPropertyDefinition<EmailAddressCollection>.withUri(
//                XmlElementNames.Likers,
//                EmailMessageSchemaFieldUris.Likers,
//                PropertyDefinitionFlags.AutoInstantiateOnRead,
//                ExchangeVersion.Exchange2015,
//                () { return new EmailAddressCollection(); });

// This must be after the declaration of property definitions
static EmailMessageSchema Instance = new EmailMessageSchema();