Partager via


DisplayName

Topic Last Modified: 2007-10-10

The DisplayName element defines the display name of a folder, contact, distribution list, or delegate user.

Syntax

<DisplayName/>

Type

String

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description

CalendarFolder

Represents a calendar folder in a mailbox.

Contact

Represents an Exchange contact item.

ContactsFolder

Represents a contact folder in a mailbox.

DistributionList

Represents a distribution list.

Folder

Represents a folder in a mailbox.

SearchFolder

Represents a search folder in a mailbox.

TasksFolder

Represents a task folder in a mailbox.

UserId

Identifies a delegate user or a user who has folder access permissions. This element was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Text Value

A text value that represents the display name is required if this element is used.

Remarks

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Example

FolderType folder = new FolderType();
folder.DisplayName = "TestFolder";

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema name

Types schema

Validation file

Types.xsd

Can be empty

False

See Also

Other Resources

Exchange Web Services XML Elements