DisplayName (string)
The DisplayName element defines the display name of a folder, contact, distribution list, delegate user, location, or rule.
<DisplayName/>
String
The following sections describe attributes, child elements, and parent elements.
None.
None.
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. |
Rule (RuleType) |
Represents a rule in a user's 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. |
A text value that represents the display name is required if this element is used.
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
This following example shows how to create a new folder and to set the DisplayName of the folder to "TestFolder".
FolderType folder = new FolderType();
folder.DisplayName = "TestFolder";
Element | Example |
---|---|
Namespace |
http://schemas.microsoft.com/exchange/services/2006/types |
Schema name |
Types schema |
Validation file |
Types.xsd |
Can be empty |
False |