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

Company 3

Indicates that the company name is displayed.

CompanyLastCommaFirst 8

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

CompanyLastFirst 5

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

CompanyLastSpaceFirst 11

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

DisplayName 13

Indicates that the contact is displayed as the display name.

Empty 17

Indicates that no information is displayed for the contact; that is, the FileAs property is empty.

FirstName 14

Indicates that the contact is displayed as the first name.

FirstSpaceLast 2

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

LastCommaFirst 1

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

LastCommaFirstCompany 4

Indicates that the contact is displayed as the last name, a comma, the first name, and the company 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.

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.

LastFirstSuffix 9

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

LastName 16

Indicates that the contact is displayed as the last name.

LastSpaceFirst 12

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

LastSpaceFirstCompany 10

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

None 0

Indicates that no additional information is displayed about the contact.

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