Share via


TmdlFormattingOptions Class

Definition

Represents an extended formatting options that can be applied during metadata serialization to TMDL.

public sealed class TmdlFormattingOptions : Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions
type TmdlFormattingOptions = class
    inherit MetadataFormattingOptions
Public NotInheritable Class TmdlFormattingOptions
Inherits MetadataFormattingOptions
Inheritance
TmdlFormattingOptions

Properties

BaseIndentationLevel

Gets the level of the base indentation of the TMDL documents.

CasingStyle

Gets the casing style in which keywords are written to the TMDL text.

Encoding

Gets the encoding that is used in metadata content serialization.

(Inherited from MetadataFormattingOptions)
IndentationMode

Gets the indentation mode that is in metadata content serialization.

(Inherited from MetadataFormattingOptions)
IndentationSize

Gets the size of a single indentation level, when spaces are used as indentation in metadata content serialization.

(Inherited from MetadataFormattingOptions)
NewLineStyle

Gets the value that is used to indicate the end of a text line in metadata content serialization.

(Inherited from MetadataFormattingOptions)
TmdlDefault

Gets the default options for TMDL metadata formatting during serialization activity.

Explicit Interface Implementations

ICloneable.Clone() (Inherited from MetadataFormattingOptions)

Extension Methods

WithEncoding(MetadataFormattingOptions, Encoding)

Sets on the options the encoding that is used in metadata content serialization.

WithNewLineStyle(MetadataFormattingOptions, NewLineStyle)

Sets on the options the indication of the end of a text line in metadata content serialization.

WithSpacesIndentationMode(MetadataFormattingOptions, Int32)

Sets on the options that indentaition is based on Tabs style with the specified length.

WithTabsIndentationMode(MetadataFormattingOptions)

Sets on the options that indentaition is based on Tabs style.

WithBaseIndentationLevel(TmdlFormattingOptions, Int32)

Sets the level of the base indentation of the TMDL documents.

WithCasingStyle(TmdlFormattingOptions, TmdlCasingStyle)

Sets the casing style in which keywords are written to the TMDL text.

Applies to