# HtmlResourceKind

Resource dependency type discovered in HTML input.

Enum 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlResourceKind.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L6)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Resource dependency type discovered in HTML input.

## Inheritance

- Enum
- HtmlResourceKind

## Usage

Explore 14 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 12

- Property [HtmlRenderResourceRequest.Kind](/api/html/officeimo-html-htmlrenderresourcerequest/#property-kind)
- Property [HtmlResourceDependencySummary.Kind](/api/html/officeimo-html-htmlresourcedependencysummary/#property-kind)
- Field [HtmlResourceKind.Font](/api/html/officeimo-html-htmlresourcekind/#field-font)
- Field [HtmlResourceKind.Hyperlink](/api/html/officeimo-html-htmlresourcekind/#field-hyperlink)
- Field [HtmlResourceKind.Image](/api/html/officeimo-html-htmlresourcekind/#field-image)
- Field [HtmlResourceKind.Media](/api/html/officeimo-html-htmlresourcekind/#field-media)
- Field [HtmlResourceKind.Other](/api/html/officeimo-html-htmlresourcekind/#field-other)
- Field [HtmlResourceKind.Script](/api/html/officeimo-html-htmlresourcekind/#field-script)
- Field [HtmlResourceKind.Stylesheet](/api/html/officeimo-html-htmlresourcekind/#field-stylesheet)
- Property [HtmlResourceReference.Kind](/api/html/officeimo-html-htmlresourcereference/#property-kind)
- Property [HtmlResourceSessionEntry.Kind](/api/html/officeimo-html-htmlresourcesessionentry/#property-kind)
- Property [HtmlSemanticResource.Kind](/api/html/officeimo-html-htmlsemanticresource/#property-kind)

### Accepted by parameters 2

- Method [HtmlResourceDependencyPlan.GetSummary](/api/html/officeimo-html-htmlresourcedependencyplan/#method-getsummary-officeimo-html-htmlresourcekind) parameter `kind`
- Method [HtmlResourcePipeline.RewriteCssResourceUrls](/api/html/officeimo-html-htmlresourcepipeline/#method-rewritecssresourceurls-string-func-system-string-officeimo-html-htmlresourcekind-system-string) parameter `rewrite`

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 HtmlResourceKind Image` [#](#field-image)

[HtmlResourceKind.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L8)

Image resource.

Value: `0`

`public const HtmlResourceKind Stylesheet` [#](#field-stylesheet)

[HtmlResourceKind.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L10)

Stylesheet resource.

Value: `1`

`public const HtmlResourceKind Hyperlink` [#](#field-hyperlink)

[HtmlResourceKind.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L12)

Hyperlink target.

Value: `2`

`public const HtmlResourceKind Script` [#](#field-script)

[HtmlResourceKind.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L14)

Script resource.

Value: `3`

`public const HtmlResourceKind Media` [#](#field-media)

[HtmlResourceKind.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L16)

Audio, video, source, or track resource.

Value: `4`

`public const HtmlResourceKind Font` [#](#field-font)

[HtmlResourceKind.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L18)

Font or preloaded font-like resource.

Value: `5`

`public const HtmlResourceKind Other` [#](#field-other)

[HtmlResourceKind.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceKind.cs#L20)

Resource that does not fit a more specific category.

Value: `6`

<!-- PowerForge markdown artifact sha256:934F5CBD5C75DBCFA789EE31F8F3D2F48A33382FFC620AF333968F229614E1EA -->
