DefaultShapeNamesType Enum

Definition

The DefaultShapeNamesType enumeration identifies standard sets of properties to return in an item or folder response.

public enum class DefaultShapeNamesType
public enum DefaultShapeNamesType
Public Enum DefaultShapeNamesType
Inheritance
DefaultShapeNamesType

Fields

AllProperties 2

Returns all the properties that are defined for the AllProperties shape. This option does not return all available properties for an item or folder.

Default 1

Returns a set of properties that are defined as the default for the item or folder. See the table later in this topic for more information about the properties that are returned for folders.

IdOnly 0

Returns only the item or folder ID.

Remarks

This enumeration is used by the BaseShape property of the ItemResponseShapeType object and the BaseShape property of the FolderResponseShapeType object.

The properties that are returned by the AllProperties, Default, and IdOnly shapes can be augmented by properties that are defined by the AdditionalProperties property on the ItemResponseShapeType and the FolderResponseShapeType objects.

The following table lists the properties that are returned for each folder when the Default properties are returned for a folder response. All subfolders of a given folder are returned in order by name.

Default properties

InboxFolderId, display name, unread count, total count, subfolder count
ContactsFolderId, display name, total count, subfolder count
CalendarFolderId, display name, subfolder count
DraftsFolderId, display name, unread count, total count, subfolder count
Deleted ItemsFolderId, display name, unread count, total count, subfolder count
Other foldersFolderId, display name, unread count, total count, subfolder count
OutboxFolderId, display name, unread count, total count, subfolder count
TasksFolder Id, display name, past due count, total count, subfolder count
NotesFolderId, display name, total count, subfolder count

Applies to