Edit

Share via


FileAsMappingType Enum

Definition

The FileAsMappingType enumeration defines how to construct what is displayed for a contact in the FileAs property.

public enum class FileAsMappingType
public enum FileAsMappingType
Public Enum FileAsMappingType
Inheritance
FileAsMappingType

Fields

Name Value Description
None 0

Indicates that no additional information is displayed about the contact.

LastCommaFirst 1

Indicates that the contact is displayed as the last name followed by a comma and the first name.

FirstSpaceLast 2

Indicates that the contact is displayed as the first name followed by a space and the last name.

Company 3

Indicates that the company name is displayed.

LastCommaFirstCompany 4

Indicates that the contact is displayed as the last name, a comma, the first name, and the company name.

CompanyLastFirst 5

Indicates that the contact is displayed as the company name, the last name, and the first name.

LastFirst 6

Indicates that the contact is displayed as the last name followed by the first name.

LastFirstCompany 7

Indicates that the contact is displayed as the last name, the first name, and the company name.

CompanyLastCommaFirst 8

Indicates that the contact is displayed as the company name, the last name, a comma, and the first name.

LastFirstSuffix 9

Indicates that the contact is displayed as the last name, the first name, and the suffix for the contact.

LastSpaceFirstCompany 10

Indicates that the contact is displayed as the last name, a space, the first name, and the company name.

CompanyLastSpaceFirst 11

Indicates that the contact is displayed as the company name, the last name, a space, and the first name.

LastSpaceFirst 12

Indicates that the contact is displayed as the last name, followed by a space and the first name.

DisplayName 13

Indicates that the contact is displayed as the display name.

FirstName 14

Indicates that the contact is displayed as the first name.

LastFirstMiddleSuffix 15

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 16

Indicates that the contact is displayed as the last name.

Empty 17

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.

Applies to