/// <summary> /// Verify SingleRecipientType structure. /// </summary> /// <param name="singleRecipientType">Specifies the e-mail address information for a single message recipient.</param> /// <param name="isSchemaValidated">The result of schema validation, true means valid.</param> private void VerifySingleRecipientType(SingleRecipientType singleRecipientType, bool isSchemaValidated) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSCDATA_R1292"); // Verify MS-OXWSCDATA requirement: MS-OXWSCDATA_R1292 Site.CaptureRequirementIfIsTrue( isSchemaValidated, "MS-OXWSCDATA", 1292, @"[In t:SingleRecipientType Complex Type] The type [SingleRecipientType] is defined as follow: <xs:complexType name=""SingleRecipientType""> <xs:choice> <xs:element name=""Mailbox"" type=""t:EmailAddressType"" /> </xs:choice> </xs:complexType>"); // The "Mailbox" is renamed to "Item" in the auto-generated ItemStack. this.VerifyEmailAddressType(singleRecipientType.Item, isSchemaValidated); }