# YamlLintQuotedStringsOptions

Settings of the YamlLintRules.QuotedStrings rule.

Class 

`OfficeIMO.Yaml`

**Namespace**

`OfficeIMO.Yaml`

**Assembly**

`OfficeIMO.Yaml`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`YamlLintRuleOptions`

**Modifiers**

sealed

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

## Inheritance

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

## 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.QuotedStrings](/api/yaml/officeimo-yaml-yamllintoptions/#property-quotedstrings)

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 YamlLintQuoteType QuoteType { get; set; }` [#](#property-quotetype)

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

Gets or sets the expected quotes. Defaults to [YamlLintQuoteType.Any](/api/yaml/officeimo-yaml-yamllintquotetype/).

`public YamlLintQuoteRequirement Required { get; set; }` [#](#property-required)

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

Gets or sets when string values must be quoted. Defaults to [YamlLintQuoteRequirement.Always](/api/yaml/officeimo-yaml-yamllintquoterequirement/).

`public bool CheckKeys { get; set; }` [#](#property-checkkeys)

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

Gets or sets whether mapping keys are checked too. Defaults to false.

## 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:117A1F5FCCF68CBD5B7CC4E5511E34048242366E00B6203A05DAB8479E79F5CE -->
