MetadataFormattingOptionsExtensions.WithNewLineStyle Method

Definition

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

public static Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions WithNewLineStyle(this Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions options, Microsoft.AnalysisServices.Tabular.Serialization.NewLineStyle style);
static member WithNewLineStyle : Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions * Microsoft.AnalysisServices.Tabular.Serialization.NewLineStyle -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions
<Extension()>
Public Function WithNewLineStyle (options As MetadataFormattingOptions, style As NewLineStyle) As MetadataFormattingOptions

Parameters

options
MetadataFormattingOptions

The instance of the options to update.

style
NewLineStyle

The end-of-line style indication.

Returns

The cloned instance of the MetadataFormattingOptions after the change.

Exceptions

The specified options instance is a null reference (Nothing in Visual Basic).

Applies to