-
Notifications
You must be signed in to change notification settings - Fork 64
/
office.categorydetails.yml
61 lines (51 loc) · 1.6 KB
/
office.categorydetails.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
### YamlMime:TSType
name: Office.CategoryDetails
uid: 'outlook!Office.CategoryDetails:interface'
package: outlook!
fullName: Office.CategoryDetails
summary: Represents a category's details like name and associated color.
remarks: >-
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
**[Minimum permission
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!-- -->**:
**read item**
**[Applicable Outlook
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!-- -->**:
Compose or Read
#### Examples
```TypeScript
const categories = [
{
"displayName": "Urgent!",
"color": Office.MailboxEnums.CategoryColor.Preset0
}
];
```
isPreview: false
isDeprecated: false
type: interface
properties:
- name: color
uid: 'outlook!Office.CategoryDetails#color:member'
package: outlook!
fullName: color
summary: The color of the category.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'color: MailboxEnums.CategoryColor | string;'
return:
type: '<xref uid="outlook!Office.MailboxEnums.CategoryColor:enum" /> | string'
- name: displayName
uid: 'outlook!Office.CategoryDetails#displayName:member'
package: outlook!
fullName: displayName
summary: The name of the category. Maximum length is 255 characters.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'displayName: string;'
return:
type: string