Edit

Share via


Item Class

Definition

Represents a generic item. Properties that are available on items are defined in the ItemSchema class.The Item type is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public ref class Item : Microsoft::Exchange::WebServices::Data::ServiceObject
public class Item : Microsoft.Exchange.WebServices.Data.ServiceObject
Public Class Item
Inherits ServiceObject
Inheritance
Derived

Properties

AllowedResponseActions

Gets a value that indicates which response actions are allowed on this item. Examples of response actions are Reply and Forward.

ArchiveTag

Gets or sets the archive tag. The ArchiveTag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Attachments

Gets a list of the attachments to this item.

Body

Gets or sets the body of this item.

Categories

Gets or sets the list of categories that are associated with this item.

ConversationId

Gets the ID of the conversation that this item is part of.

Culture

Gets or sets the culture that is associated with this item.

DateTimeCreated

Gets the date and time at which this item was created.

DateTimeReceived

Gets the time when this item was received.

DateTimeSent

Gets the date and time at which this item was sent.

DisplayCc

Gets a text string that lists the Cc recipients of this item.

DisplayTo

Gets a text string that lists the To recipients of this item.

EffectiveRights

Gets a value that indicates the effective rights that the current authenticated user has on this item.

EntityExtractionResult

Gets the entity extraction information on the item. The EntityExtractionResult property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

ExtendedProperties

Gets a list of extended properties that are defined on this item.

Flag

Gets or sets a flag value that indicates the status, start date, due date, or completion date for an item. The Flag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

HasAttachments

Gets a value that indicates whether the item has attachments.

IconIndex

Gets the icon index. The IconIndex property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Id

Gets the ID of this item.

Importance

Gets or sets the importance of this item.

InReplyTo

Gets or sets the In-Reply-To reference of this item.

InstanceKey

Gets the item instance key. The InstanceKey property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

InternetMessageHeaders

Gets a list of Internet headers for this item. To get the entire collection of Internet message headers, use the PR_TRANSPORT_MESSAGE_HEADERS property.

IsAssociated

Gets a value that indicates whether this is an associated item.

IsAttachment

Gets a value that indicates whether the item is an attachment.

IsDirty

Gets a value that indicates whether the object has been modified.

(Inherited from ServiceObject)
IsDraft

Gets a value that indicates whether the item is a draft. An item is a draft when it has not yet been sent.

IsFromMe

Gets a value that indicates whether the item has been sent by the current authenticated user.

IsNew

Gets a value that indicates whether this object is a real store item or a local object that has yet to be saved.

IsReminderSet

Gets or sets a value that indicates whether a reminder is set for this item.

IsResend

Gets a value that indicates whether the item is a resend of another item.

IsSubmitted

Gets a value that indicates whether the message has been submitted to be sent.

IsUnmodified

Gets a value that indicates whether the item has been modified since it was created.

Item[PropertyDefinitionBase]

Gets the value of the specified property in this instance.

(Inherited from ServiceObject)
ItemClass

Gets or sets the custom class name of this item.

LastModifiedName

Gets the name of the user who last modified this item.

LastModifiedTime

Gets the date and time that this item was last modified.

MimeContent

Gets the MIME content of this item.

NormalizedBody

Gets the message body of an item that has been converted to a normalized value. The NormalizedBody property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

ParentFolderId

Gets the ID of the parent folder of this item.

PolicyTag

Gets or sets the retention policy value. The PolicyTag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Preview

Gets the item preview. The Preview property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

ReminderDueBy

Gets or sets the date and time when the reminder is due for this item.

ReminderMinutesBeforeStart

Gets or sets the number of minutes before the start of this item that the reminder should be triggered.

RetentionDate

Gets the date until which an item must be preserved. The RetentionDate property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Schema

Gets the schema that is associated with this type of object.

(Inherited from ServiceObject)
Sensitivity

Gets the sensitivity of this item.

Service

Gets the Exchange service for this object.

(Inherited from ServiceObject)
Size

Gets the size of this item.

StoreEntryId

Gets the entry ID of the store that hosts the item. The StoreEntryId property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Subject

Gets or sets the subject of this item.

TextBody

Gets the text body of the item. The TextBody property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

UniqueBody

Gets the body part that is unique to the conversation that this item is part of.

WebClientEditFormQueryString

Gets the query string that can be appended to the Outlook Web App URL to open this item in a web browser.

WebClientReadFormQueryString

Gets the query string that should be appended to the Exchange web client URL to open this item by using the appropriate read form in a web browser.

Methods

Bind(ExchangeService, ItemId)

Binds to an existing item, whatever its actual type is, and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing item, whatever its actual type is, and loads the specified set of properties.

Copy(FolderId)

Creates a copy of this item in the specified folder. Calling this method results in a call to Exchange Web Services (EWS).

Copy(WellKnownFolderName)

Creates a copy of this item in the specified folder. Calling this method results in a call to Exchange Web Services (EWS).

Delete(DeleteMode)

Deletes the item. Calling this method results in a call to Exchange Web Services (EWS).

Delete(DeleteMode, Boolean)

Deletes the item. Calling this method results in a call to EWS.

GetLoadedPropertyDefinitions()

Provides the collection of loaded property definitions.

(Inherited from ServiceObject)
Load()

Loads the first-class properties.

(Inherited from ServiceObject)
Load(PropertySet)

Loads the specified set of properties.

(Inherited from ServiceObject)
Move(FolderId)

Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS).

Move(WellKnownFolderName)

Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS).

RemoveExtendedProperty(ExtendedPropertyDefinition)

Removes an extended property.

Save()

Saves this item in the default folder based on the item's type. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added.

Save(FolderId)

Saves this item in a specific folder. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added.

Save(WellKnownFolderName)

Saves this item in a specific folder. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added.

SetExtendedProperty(ExtendedPropertyDefinition, Object)

Sets the specified extended property to the specified value.

TryGetProperty(PropertyDefinitionBase, Object)

Tries to get the value of a specified property.

(Inherited from ServiceObject)
TryGetProperty<T>(PropertyDefinitionBase, T)

Tries to get the value of a specified property.

(Inherited from ServiceObject)
Update(ConflictResolutionMode)

Applies the local changes that have been made to this item. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added or removed.

Update(ConflictResolutionMode, Boolean)

Applies the local changes that have been made to this item. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed.

Applies to