MetadataFormattingOptionsBuilder.WithEncoding(Encoding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets on the options the encoding that is used in metadata content serialization.
public Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder WithEncoding (System.Text.Encoding encoding);
member this.WithEncoding : System.Text.Encoding -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder
Public Function WithEncoding (encoding As Encoding) As MetadataFormattingOptionsBuilder
Parameters
- encoding
- Encoding
The encoding that will be set on the options.
Returns
The same instance of the MetadataFormattingOptionsBuilder.
Exceptions
The specified encoding instance is a null reference (Nothing in Visual Basic).