Share via


_SharingItem.Categories Property

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

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

Syntax

'Declaration
Property Categories As String
    Get
    Set
'Usage
Dim instance As _SharingItem
Dim value As String

value = instance.Categories

instance.Categories = value
string Categories { get; set; }

Property Value

Type: System.String

Remarks

The value of the Categories property is a comma-delimited string of category names that have been assigned to an Outlook item. To convert the string of category names to an array of category names, use the Microsoft Visual Basic function Split.

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace