Compartilhar via


IContact::put_FileAs

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

The FileAs propriedade obtém ou define a seqüência de caracteres de arquivamento para um contato.

To set the value of the FileAs property, call the property method described here.

To get the value of the FileAs property, see the IContact::get_FileAs property method.

Syntax

HRESULT put_FileAs(
   BSTR pwsz
);

Parameters

  • pwsz
    [no] Referência a seqüência de caracteres de arquivamento. Para informações sobre o BSTR tipo, consulte BSTR.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED GPSGetPosition, e E_FAIL, as well as o seguinte.

  • S_OK
    The method completed successfully.

Remarks

Comprimento máximo é 1022 caracteres.

Outlook automaticamente Mobile padrões a seqüência de caracteres de arquivamento para "Sobrenome, Nome".

Se você do atualização um contato Nome ou ISpTTSEngine::Speak. Sobrenome (ou CompanyName Se houver não valores para Nome e sobrenome), as atualizações automaticamente Mobile Outlook o FileAs valor para corresponder.

Se você definir FileAs, o novo valor não é substituído até você chamar Salvar.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations