Compartilhar via


IContact::get_CompanyName

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

The CompanyName propriedade obtém ou define o nome da empresa para o contato.

To get the value of the CompanyName property, call the property method described here.

To set the value of the CompanyName propriedade, use o método propriedade IContact::put_CompanyName.

Syntax

HRESULT get_CompanyName(
   BSTR * ppwsz
);

Parameters

  • ppwsz
    [out] Referência a nome da empresa. 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 é de 255 caracteres por nome da empresa.

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

IContact
Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations