ParentItemIdParentItemId

ParentItemId元素标识链接到相关联的附件的父项目。The ParentItemId element identifies the parent item that links to an associated attachment.

<ParentItemId Id="" ChangeKey="" />

ItemIdTypeItemIdType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

属性Attribute 说明Description
IdId
标识与附件关联的 Exchange 存储中的单个项目。Identifies a single item in the Exchange store to associate with an attachment. 此值为字符串。This value is a string. 此特性是必需的。This attribute is required.
ChangeKeyChangeKey
标识由 Exchange 存储中的Id属性标识的项目的未指定版本。Identifies an unspecified version of an item that is identified by the Id attribute in the Exchange store. 这用于确保在使用附件更新当前项时使用它。This is used to make sure that a current item is used when it is updated with an attachment. 此值为字符串。This value is a string. 此特性是可选的。This attribute is optional.

子元素Child elements

无。None.

父元素Parent elements

元素Element 说明Description
CreateAttachmentCreateAttachment
定义在邮箱中创建项目附件的请求。Defines a request to create an attachment to an item in a mailbox.
下面是此元素的 XPath 表达式: The following is the XPath expression to this element:
/CreateAttachment

备注Remarks

CreateAttachment 操作中,此元素是必需的。This element is required in the CreateAttachment operation. 此元素基本上与ItemId元素相同。This element is basically the same as the ItemId element.

描述此元素的架构位于正在运行 MicrosoftExchange Server 2007 的计算机(已安装客户端访问服务器角色)的 EWS 虚拟目录中。The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/messages
架构名称Schema Name
消息架构Messages schema
验证文件Validation File
Messages.xsdMessages.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also