# WordFieldLocationKind

Identifies the document part where a field was found.

Enum 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`e96266e685be` with working tree changes

**Source**

[WordFieldInfo.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordFieldInfo.cs#L15)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Identifies the document part where a field was found.

## Inheritance

- Enum
- WordFieldLocationKind

## Usage

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

- Property [WordFieldInfo.LocationKind](/api/word/officeimo-word-wordfieldinfo/#property-locationkind)
- Field [WordFieldLocationKind.Body](/api/word/officeimo-word-wordfieldlocationkind/#field-body)
- Field [WordFieldLocationKind.Endnote](/api/word/officeimo-word-wordfieldlocationkind/#field-endnote)
- Field [WordFieldLocationKind.Footer](/api/word/officeimo-word-wordfieldlocationkind/#field-footer)
- Field [WordFieldLocationKind.Footnote](/api/word/officeimo-word-wordfieldlocationkind/#field-footnote)
- Field [WordFieldLocationKind.Header](/api/word/officeimo-word-wordfieldlocationkind/#field-header)
- Property [WordFieldUpdateResult.LocationKind](/api/word/officeimo-word-wordfieldupdateresult/#property-locationkind)

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 WordFieldLocationKind Body` [#](#field-body)

[WordFieldInfo.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordFieldInfo.cs#L17)

The field is in the main document body.

Value: `0`

`public const WordFieldLocationKind Header` [#](#field-header)

[WordFieldInfo.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordFieldInfo.cs#L19)

The field is in a header part.

Value: `1`

`public const WordFieldLocationKind Footer` [#](#field-footer)

[WordFieldInfo.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordFieldInfo.cs#L21)

The field is in a footer part.

Value: `2`

`public const WordFieldLocationKind Footnote` [#](#field-footnote)

[WordFieldInfo.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordFieldInfo.cs#L23)

The field is in a footnote part.

Value: `3`

`public const WordFieldLocationKind Endnote` [#](#field-endnote)

[WordFieldInfo.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordFieldInfo.cs#L25)

The field is in an endnote part.

Value: `4`

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