FileAsMappingType Enumeration
The FileAsMappingType enumeration defines how to construct what is displayed for a contact in the FileAs property.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Enumeration FileAsMappingType
'Usage
Dim instance As FileAsMappingType
[SerializableAttribute]
public enum FileAsMappingType
Members
Member name | Description | |
---|---|---|
None | Indicates that no additional information is displayed about the contact. | |
LastCommaFirst | Indicates that the contact is displayed as the last name followed by a comma and the first name. | |
FirstSpaceLast | Indicates that the contact is displayed as the first name followed by a space and the last name. | |
Company | Indicates that the company name is displayed. | |
LastCommaFirstCompany | Indicates that the contact is displayed as the last name, a comma, the first name, and the company name. | |
CompanyLastFirst | Indicates that the contact is displayed as the company name, the last name, and the first name. | |
LastFirst | Indicates that the contact is displayed as the last name followed by the first name. | |
LastFirstCompany | Indicates that the contact is displayed as the last name, the first name, and the company name. | |
CompanyLastCommaFirst | Indicates that the contact is displayed as the company name, the last name, a comma, and the first name. | |
LastFirstSuffix | Indicates that the contact is displayed as the last name, the first name, and the suffix for the contact. | |
LastSpaceFirstCompany | Indicates that the contact is displayed as the last name, a space, the first name, and the company name. | |
CompanyLastSpaceFirst | Indicates that the contact is displayed as the company name, the last name, a space, and the first name. | |
LastSpaceFirst | Indicates that the contact is displayed as the last name, followed by a space and the first name. | |
DisplayName | Indicates that the contact is displayed as the display name. | |
FirstName | Indicates that the contact is displayed as the first name. | |
LastFirstMiddleSuffix | Indicates that the contact is displayed as the last name, followed by the first name, the middle name, and the suffix for the contact. | |
LastName | Indicates that the contact is displayed as the last name. | |
Empty | Indicates that no information is displayed for the contact; that is, the FileAs property is empty. |
Remarks
This enumeration is used by the FileAsMapping property of the ContactItemType object.
Note
The FileAsMapping property has no effect when the FileAs property is explicitly set. Do not set both the FileAs and FileAsMapping properties at the same time, unless you set the FileAsMapping property to None.