# WordFieldScope

Edits one WordField: its fluent methods and keywords, each returning this scope.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

sealed

Edits one [WordField](/api/word/officeimo-word-wordfield/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- WordFieldScope

## 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 4

- Method [WordFieldScope.LockField](/api/word/officeimo-word-wordfieldscope/#method-lockfield-boolean)
- Method [WordFieldScope.Paragraph](/api/word/officeimo-word-wordfieldscope/#method-paragraph-action-officeimo-word-wordparagraph)
- Method [WordFieldScope.Text](/api/word/officeimo-word-wordfieldscope/#method-text-string)
- Method [WordFieldScope.UpdateField](/api/word/officeimo-word-wordfieldscope/#method-updatefield-boolean)

### Accepted by parameters 4

- Method [WordDocumentScope.Field](/api/word/officeimo-word-worddocumentscope/#method-field-officeimo-word-wordfieldtype-nullable-officeimo-word-wordfieldformat-string-boolean-collections-generic-list-system-string-action-officeimo-word-wordfieldscope) parameter `configure`
- Method [WordFooterScope.Field](/api/word/officeimo-word-wordfooterscope/#method-field-officeimo-word-wordfieldtype-nullable-officeimo-word-wordfieldformat-string-boolean-action-officeimo-word-wordfieldscope) parameter `configure`
- Method [WordHeaderScope.Field](/api/word/officeimo-word-wordheaderscope/#method-field-officeimo-word-wordfieldtype-nullable-officeimo-word-wordfieldformat-string-boolean-action-officeimo-word-wordfieldscope) parameter `configure`
- Method [WordParagraphScope.Field](/api/word/officeimo-word-wordparagraphscope/#method-field-officeimo-word-wordfieldtype-nullable-officeimo-word-wordfieldformat-string-boolean-collections-generic-list-system-string-action-officeimo-word-wordfieldscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public WordFieldScope LockField(bool value = true)` [#](#method-lockfield-boolean)

Sets [WordField.LockField](/api/word/officeimo-word-wordfield/): Gets or sets a value indicating whether the field is locked.

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`WordFieldScope` The same scope.

`public WordFieldScope Paragraph(Action<WordParagraph> configure)` [#](#method-paragraph-action-officeimo-word-wordparagraph)

Configures [WordField.Paragraph](/api/word/officeimo-word-wordfield/) in place: Gets the containing paragraph handle for continuing paragraph authoring.

Parameters

**configure System.Action<OfficeIMO.Word.WordParagraph> required**

Configures the value.

Returns

`WordFieldScope` The same scope.

`public WordFieldScope Text(string value)` [#](#method-text-string)

Sets [WordField.Text](/api/word/officeimo-word-wordfield/): Gets or sets the display text of the field.

Parameters

**value string required**

The value.

Returns

`WordFieldScope` The same scope.

`public WordFieldScope UpdateField(bool value = true)` [#](#method-updatefield-boolean)

Sets [WordField.UpdateField](/api/word/officeimo-word-wordfield/): Gets or sets a value indicating whether the field is marked dirty.

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`WordFieldScope` The same scope.

## 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 WordField Model { get; }` [#](#property-model)

The [WordField](/api/word/officeimo-word-wordfield/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:6A9002D9F4C195C6646810D888257DEC8F670BCD699E078102599C536D819C73 -->
