Compartilhar via


ITask::put_Categories

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

The Categorias propriedade obtém ou define as categorias atribuídas para a tarefa.

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

To get the value of the Categorias property, see the ITask::get_Categories property method.

Syntax

HRESULT put_Categories(
   BSTR pwsz
);

Parameters

  • pwsz
    [no] Referência as categorias. 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 categoria.

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