# RtfListDefinitionFluent

The fluent methods of RtfListDefinition, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Modifiers**

static

The fluent methods of [RtfListDefinition](/api/rtf/officeimo-rtf-rtflistdefinition/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- RtfListDefinitionFluent

Filter members 

Show inherited

## Methods

`public static RtfListDefinition Name(RtfListDefinition rtfListDefinition, string? value)` [#](#method-name-officeimo-rtf-rtflistdefinition-string)

Sets [RtfListDefinition.Name](/api/rtf/officeimo-rtf-rtflistdefinition/): Optional list name.

Parameters

**rtfListDefinition OfficeIMO.Rtf.RtfListDefinition required**

The instance.

**value string? required**

The value.

Returns

`RtfListDefinition` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
rtfListDefinition.Name = value;    rtfListDefinition.Name(value);
```

`public static RtfListDefinition TemplateId(RtfListDefinition rtfListDefinition, int? value)` [#](#method-templateid-officeimo-rtf-rtflistdefinition-nullable-system-int32)

Sets [RtfListDefinition.TemplateId](/api/rtf/officeimo-rtf-rtflistdefinition/): Optional template id.

Parameters

**rtfListDefinition OfficeIMO.Rtf.RtfListDefinition required**

The instance.

**value int? required**

The value.

Returns

`RtfListDefinition` The same instance.

Examples

```csharp
// C# initializer or property            // C# fluent
rtfListDefinition.TemplateId = value;    rtfListDefinition.TemplateId(value);
```

## 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?`

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