次の方法で共有


_TaskRequestItem.Categories Property

Returns or sets a String (string in C#) representing the categories assigned to the Outlook item. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property Categories As String
    Get
    Set
'Usage
Dim instance As _TaskRequestItem
Dim value As String

value = instance.Categories

instance.Categories = value
[DispIdAttribute()]
string Categories { get; set; }

Property Value

Type: System.String

Remarks

Categories is a delimited string of category names that have been assigned to an Outlook item. This property uses the character specified in the value name, sList, under HKEY_CURRENT_USER\Control Panel\International in the Windows registry, as the delimiter for multiple category values. To convert the string of category names to an array of category names, use the Microsoft Visual Basic function Split.

See Also

Reference

_TaskRequestItem Interface

_TaskRequestItem Members

Microsoft.Office.Interop.Outlook Namespace