# YamlLintDocumentStartOptions

Settings of the YamlLintRules.DocumentStart rule.

Class 

`OfficeIMO.Yaml`

**Namespace**

`OfficeIMO.Yaml`

**Assembly**

`OfficeIMO.Yaml`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[YamlLintOptions.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L175)

**Base**

`YamlLintRuleOptions`

**Modifiers**

sealed

Settings of the [YamlLintRules.DocumentStart](/api/yaml/officeimo-yaml-yamllintrules/) rule.

## Inheritance

- [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)
- YamlLintDocumentStartOptions

## Usage

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

- Property [YamlLintOptions.DocumentStart](/api/yaml/officeimo-yaml-yamllintoptions/#property-documentstart)

Filter members 

Show inherited

## 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 bool Present { get; set; }` [#](#property-present)

[YamlLintOptions.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L175)

Gets or sets whether the first document must start with --- (true, the default) or must not (false). Later documents of a stream always need the marker.

## Inherited Properties

`public string Id { get; }` [#](#property-id)

[YamlLintOptions.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L87)

Inherited from [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)

`public bool Enabled { get; set; }` [#](#property-enabled)

[YamlLintOptions.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L90)

Inherited from [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)

`public OfficeDiagnosticSeverity Severity { get; set; }` [#](#property-severity)

[YamlLintOptions.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L93)

Inherited from [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)

<!-- PowerForge markdown artifact sha256:427BEC218641DAB9FEE2F159564EB4128CB96FD4D4FFEFE47E20FBAA82CE10BD -->
