Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNoteTag

OfficeIMO.OneNote

Namespace
OfficeIMO.OneNote
Assembly
OfficeIMO.OneNote
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

A note tag or task marker associated with content.

Inheritance

  • object
  • OneNoteTag

Usage

Explore 10 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public OneNoteTag() #

Properties

public OneNoteExtendedGuid? DefinitionId { get; set; } #

Tag definition identity. Serialization assigns and retains it for a new non-task tag.

public uint? ActionItemType { get; set; } #

MS-ONE action-item identity (0-99 for known normal tags, 100-105 for task tags; other native values are preserved).

public string? Label { get; set; } #

Tag label as stored in the tag definition. Task tags carry no label.

public uint? Shape { get; set; } #

MS-ONE note-tag shape value (the icon OneNote draws).

public bool IsTask { get; set; } #

Whether the tag is a task tag.

public bool IsCheckable { get; set; } #

Whether the tag is checkable.

public bool IsCompleted { get; set; } #

Whether a checkable tag is checked. Always false for tags that cannot be checked.

public bool IsDisabled { get; set; } #

Whether the tag is disabled.

public bool IsUnsynchronized { get; set; } #

Whether a task tag has not yet synchronized.

public bool IsRemoved { get; set; } #

Whether the task associated with this tag was removed.

public DateTime? DueUtc { get; set; } #

Optional task due date.

public DateTime? CreatedUtc { get; set; } #

Creation timestamp.

public DateTime? CompletedUtc { get; set; } #

Completion timestamp.

public uint? TextColorArgb { get; set; } #

Optional tag text color encoded as ARGB.

public uint? HighlightColorArgb { get; set; } #

Optional tag highlight color encoded as ARGB.

public OneNoteTagKind Kind { get; } #

Built-in tag identity derived from OneNoteTag.ActionItemType.

public string Name { get; } #

Displayed tag name: the stored OneNoteTag.Label, or the built-in name when no label is stored.

public string? Symbol { get; } #

A readable Unicode symbol for the tag icon: a ballot box (checked or empty) for checkable tags, otherwise a symbol for the shape or built-in kind. Null for tags that show only a highlight or text color.