Поделиться через


DefaultShapeNamesType Enumeration

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

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

Syntax

'Declaration
<SerializableAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/exchange/services/2006/types")> _
Public Enumeration DefaultShapeNamesType
[SerializableAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types")] 
public enum DefaultShapeNamesType
[SerializableAttribute] 
[GeneratedCodeAttribute(L"wsdl", L"2.0.50727.42")] 
[XmlTypeAttribute(Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types")] 
public enum class DefaultShapeNamesType
/** @attribute SerializableAttribute() */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
/** @attribute XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") */ 
public enum DefaultShapeNamesType
SerializableAttribute 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") 
public enum DefaultShapeNamesType

Members

Member name Description
AllProperties 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 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 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.

Folder

Default Columns

Inbox

FolderId, display name, unread count, total count, subfolder count

Contacts

FolderId, display name, total count, subfolder count

Calendar

FolderId, display name, subfolder count

Drafts

FolderId, display name, unread count, total count, subfolder count

Deleted Items

FolderId, display name, unread count, total count, subfolder count

Other folders

FolderId, display name, unread count, total count, subfolder count

Outbox

FolderId, display name, unread count, total count, subfolder count

Tasks

Folder Id, display name, past due count, total count, subfolder count

Notes

FolderId, display name, total count, subfolder count

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)

See Also

Reference

ExchangeWebServices Namespace

Other Resources

BaseShape