# OneNoteTag

A note tag or task marker associated with content.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteTag.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L80)

**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.

### Returned or exposed by 10

- Property [OneNoteBinaryElement.Tags](/api/onenote/officeimo-onenote-onenotebinaryelement/#property-tags)
- Property [OneNoteElement.Tags](/api/onenote/officeimo-onenote-onenoteelement/#property-tags)
- Property [OneNoteEmbeddedFile.Tags](/api/onenote/officeimo-onenote-onenoteembeddedfile/#property-tags)
- Property [OneNoteImage.Tags](/api/onenote/officeimo-onenote-onenoteimage/#property-tags)
- Property [OneNoteInk.Tags](/api/onenote/officeimo-onenote-onenoteink/#property-tags)
- Property [OneNoteMath.Tags](/api/onenote/officeimo-onenote-onenotemath/#property-tags)
- Property [OneNoteMedia.Tags](/api/onenote/officeimo-onenote-onenotemedia/#property-tags)
- Property [OneNoteOutline.Tags](/api/onenote/officeimo-onenote-onenoteoutline/#property-tags)
- Property [OneNoteParagraph.Tags](/api/onenote/officeimo-onenote-onenoteparagraph/#property-tags)
- Property [OneNoteTable.Tags](/api/onenote/officeimo-onenote-onenotetable/#property-tags)

Filter members 

Show inherited

## Constructors

`public OneNoteTag()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OneNoteExtendedGuid? DefinitionId { get; set; }` [#](#property-definitionid)

[OneNoteTag.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L80)

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

`public uint? ActionItemType { get; set; }` [#](#property-actionitemtype)

[OneNoteTag.cs:83](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L83)

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; }` [#](#property-label)

[OneNoteTag.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L86)

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

`public uint? Shape { get; set; }` [#](#property-shape)

[OneNoteTag.cs:89](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L89)

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

`public bool IsTask { get; set; }` [#](#property-istask)

[OneNoteTag.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L92)

Whether the tag is a task tag.

`public bool IsCheckable { get; set; }` [#](#property-ischeckable)

[OneNoteTag.cs:95](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L95)

Whether the tag is checkable.

`public bool IsCompleted { get; set; }` [#](#property-iscompleted)

[OneNoteTag.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L98)

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

`public bool IsDisabled { get; set; }` [#](#property-isdisabled)

[OneNoteTag.cs:101](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L101)

Whether the tag is disabled.

`public bool IsUnsynchronized { get; set; }` [#](#property-isunsynchronized)

[OneNoteTag.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L104)

Whether a task tag has not yet synchronized.

`public bool IsRemoved { get; set; }` [#](#property-isremoved)

[OneNoteTag.cs:107](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L107)

Whether the task associated with this tag was removed.

`public DateTime? DueUtc { get; set; }` [#](#property-dueutc)

[OneNoteTag.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L110)

Optional task due date.

`public DateTime? CreatedUtc { get; set; }` [#](#property-createdutc)

[OneNoteTag.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L113)

Creation timestamp.

`public DateTime? CompletedUtc { get; set; }` [#](#property-completedutc)

[OneNoteTag.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L116)

Completion timestamp.

`public uint? TextColorArgb { get; set; }` [#](#property-textcolorargb)

[OneNoteTag.cs:119](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L119)

Optional tag text color encoded as ARGB.

`public uint? HighlightColorArgb { get; set; }` [#](#property-highlightcolorargb)

[OneNoteTag.cs:122](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L122)

Optional tag highlight color encoded as ARGB.

`public OneNoteTagKind Kind { get; }` [#](#property-kind)

[OneNoteTag.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L127)

Built-in tag identity derived from [OneNoteTag.ActionItemType](/api/onenote/officeimo-onenote-onenotetag/).

`public string Name { get; }` [#](#property-name)

[OneNoteTag.cs:136](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L136)

Displayed tag name: the stored [OneNoteTag.Label](/api/onenote/officeimo-onenote-onenotetag/), or the built-in name when no label is stored.

`public string? Symbol { get; }` [#](#property-symbol)

[OneNoteTag.cs:144](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteTag.cs#L144)

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.

<!-- PowerForge markdown artifact sha256:EEEA37C8EEF50A7F6866427D337DC648AB5C8451450F88C66BE757AE18DBE964 -->
