# OfficeContentCleanupCapability

Describes whether a finding can be removed without deleting a wider container.

Enum 

`OfficeIMO.ContentSafety`

**Namespace**

`OfficeIMO.ContentSafety`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeContentSafetyContracts.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L44)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Describes whether a finding can be removed without deleting a wider container.

## Inheritance

- Enum
- OfficeContentCleanupCapability

## Usage

Explore 8 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 6

- Field [OfficeContentCleanupCapability.RedactRegion](/api/core/officeimo-contentsafety-officecontentcleanupcapability/#field-redactregion)
- Field [OfficeContentCleanupCapability.RemoveElement](/api/core/officeimo-contentsafety-officecontentcleanupcapability/#field-removeelement)
- Field [OfficeContentCleanupCapability.RemoveText](/api/core/officeimo-contentsafety-officecontentcleanupcapability/#field-removetext)
- Field [OfficeContentCleanupCapability.ReportOnly](/api/core/officeimo-contentsafety-officecontentcleanupcapability/#field-reportonly)
- Property [OfficeContentCleanupChange.Capability](/api/core/officeimo-contentsafety-officecontentcleanupchange/#property-capability)
- Property [OfficeContentSafetyFinding.CleanupCapability](/api/core/officeimo-contentsafety-officecontentsafetyfinding/#property-cleanupcapability)

### Accepted by parameters 2

- Constructor [OfficeContentCleanupChange.OfficeContentCleanupChange](/api/core/officeimo-contentsafety-officecontentcleanupchange/#constructor-ctor-string-string-officeimo-contentsafety-officecontentcleanupcapability) parameter `capability`
- Constructor [OfficeContentSafetyFinding.OfficeContentSafetyFinding](/api/core/officeimo-contentsafety-officecontentsafetyfinding/#constructor-ctor-string-string-officeimo-contentsafety-officecontentconcealmentkind-officeimo-contentsafety-officecontentsafetyrisk-string-string-string-int32-string-boolean-collections-generic-ireadonlylist-system-string-officeimo-contentsafety-officecontentcleanupcapability-nullable-system-int32-nullable-system-int32) parameter `cleanupCapability`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OfficeContentCleanupCapability ReportOnly` [#](#field-reportonly)

[OfficeContentSafetyContracts.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L46)

The adapter cannot safely mutate this exact finding.

Value: `0`

`public const OfficeContentCleanupCapability RemoveText` [#](#field-removetext)

[OfficeContentSafetyContracts.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L48)

The adapter can remove the exact text payload while retaining its owner.

Value: `1`

`public const OfficeContentCleanupCapability RemoveElement` [#](#field-removeelement)

[OfficeContentSafetyContracts.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L50)

The adapter can remove the exact owning element, run, cell, shape, or metadata value.

Value: `2`

`public const OfficeContentCleanupCapability RedactRegion` [#](#field-redactregion)

[OfficeContentSafetyContracts.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L52)

The adapter can irreversibly cover an exact bounded raster region under an explicit redaction policy.

Value: `3`

<!-- PowerForge markdown artifact sha256:5E3922DB6F8B9B3293BA1E5D4AB08CB74304FF24CDA621FC0B48E0EBDAD934EF -->
