다음을 통해 공유


CreateAttachmentType.ParentItemId Property

The ParentItemId property gets or sets the parent item in the Exchange database that receives the attachments.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Property ParentItemId As ItemIdType
public ItemIdType ParentItemId { get; set; }
public:
property ItemIdType^ ParentItemId {
    ItemIdType^ get ();
    void set (ItemIdType^ value);
}
/** @property */
public ItemIdType get_ParentItemId ()

/** @property */
public void set_ParentItemId (ItemIdType value)
public function get ParentItemId () : ItemIdType

public function set ParentItemId (value : ItemIdType)

Property Value

The ParentItemId property returns an ItemIdType that represents the identifier of the parent item.

Remarks

The parent item ChangeKey property will change when the attachments are attached to it.

Example

ParentItemId

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)