This documentation is archived and is not being maintained.

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)

[SerializableAttribute] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum FileAsMappingType
/** @attribute SerializableAttribute() */ 
/** @attribute XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
public enum FileAsMappingType
SerializableAttribute 
XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
public enum FileAsMappingType

Member nameDescription
CompanyIndicates that the company name is displayed.
CompanyLastCommaFirstIndicates that the contact is displayed as the company name, the last name, a comma, and the first name.
CompanyLastFirstIndicates that the contact is displayed as the company name, the last name, and the first name.
CompanyLastSpaceFirstIndicates that the contact is displayed as the company name, the last name, a space, and the first name.
FirstSpaceLastIndicates that the contact is displayed as the first name followed by a space and the last name.
LastCommaFirstIndicates that the contact is displayed as the last name followed by a comma and the first name.
LastCommaFirstCompanyIndicates that the contact is displayed as the last name, a comma, the first name, and the company name.
LastFirstIndicates that the contact is displayed as the last name followed by the first name.
LastFirstCompanyIndicates that the contact is displayed as the last name, the first name, and the company name.
LastFirstSuffixIndicates that the contact is displayed as the last name, the first name, and the suffix for the contact.
LastSpaceFirstIndicates that the contact is displayed as the last name, followed by a space and the first name.
LastSpaceFirstCompanyIndicates that the contact is displayed as the last name, a space, the first name, and the company name.
NoneIndicates that no additional information is displayed about the contact.

This enumeration is used by the FileAsMapping property of the ContactItemType object.

Bb402497.note(en-us,EXCHG.80).gifNote:
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.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
Show: