Category.CategoryID Property
Outlook Developer Reference |
Returns a String value that represents the unique identifier for the Category object. Read-only.
Version Information
Version Added: Outlook 2007
Syntax
expression.CategoryID
expression A variable that represents a Category object.
Remarks
Because the Name property of a Category object can be changed either programmatically or by user action, each Category object is uniquely identified by a globally unique identifier (GUID), assigned to the object, that can be retrieved using this property. The GUID is presented as a string using the following format:
|
Example
The following Visual Basic for Applications (VBA) example displays a dialog box containing the names and identifiers for each Category object contained in the Categories collection associated with the default NameSpace object.
Visual Basic for Applications |
---|
|
See Also