Partager via


SendItemType.SaveItemToFolder Property

The SaveItemToFolder property gets or sets a Boolean value that specifies whether a copy of the sent item is saved. This property is required. This is a read/write property.

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

Syntax

'Declaration
<XmlAttributeAttribute> _
Public Property SaveItemToFolder As Boolean
[XmlAttributeAttribute] 
public bool SaveItemToFolder { get; set; }
[XmlAttributeAttribute] 
public:
property bool SaveItemToFolder {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_SaveItemToFolder ()

/** @property */
public void set_SaveItemToFolder (boolean value)
public function get SaveItemToFolder () : boolean

public function set SaveItemToFolder (value : boolean)

Property Value

The SaveItemToFolder property returns true if the sent item is saved to a folder; otherwise, it returns false.

Remarks

If this property is set to true, the folder that is identified by the SavedItemFolderId property will receive a copy of the sent item. If this property is set to true and the SavedItemFolderId property is not set, a copy of the sent item will be saved in the Sent Items default folder.

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)