다음을 통해 공유


ItemType.Categories Property

The Categories property gets or set a string array that identifies the categories to which an item in the mailbox belongs.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
<XmlArrayItemAttribute("String", IsNullable:=False)> _
Public Property Categories As String()
[XmlArrayItemAttribute("String", IsNullable=false)] 
public string[] Categories { get; set; }
[XmlArrayItemAttribute(L"String", IsNullable=false)] 
public:
property array<String^>^ Categories {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
/** @property */
public String[] get_Categories ()

/** @property */
public void set_Categories (String[] value)
public function get Categories () : String[]

public function set Categories (value : String[])

Property Value

The Categories property returns a string array that contains names of categories to which an item in the mailbox belongs.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

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)