MetadataFormattingOptions 类

定义

重要提示:TMDL 仍处于预览状态,API 图面在正式发布之前可能仍有待修改!

   Represents the formatting options that are used during metadata serialization.
public class MetadataFormattingOptions : ICloneable
type MetadataFormattingOptions = class
    interface ICloneable
Public Class MetadataFormattingOptions
Implements ICloneable
继承
MetadataFormattingOptions
派生
实现

注解

实例 MetadataFormattingOptions 是不可变的;若要设置实际选项,请使用 MetadataFormattingOptionsBuilder 类。

属性

Encoding

重要提示:TMDL 仍处于预览状态,API 图面在正式发布之前可能仍有待修改!

获取元数据内容序列化中使用的编码。

IndentationMode

重要提示:TMDL 仍处于预览状态,API 图面在正式发布之前可能仍有待修改!

获取元数据内容序列化中的缩进模式。

IndentationSize

重要提示:TMDL 仍处于预览状态,API 图面在正式发布之前可能仍有待修改!

获取在元数据内容序列化中使用空格作为缩进时单个缩进级别的大小。

NewLineStyle

重要提示:TMDL 仍处于预览状态,API 图面在正式发布之前可能仍有待修改!

获取值,该值用于指示元数据内容序列化中文本行的末尾。

显式接口实现

ICloneable.Clone()

重要提示:TMDL 仍处于预览状态,API 图面在正式发布之前可能仍有待修改!

   Represents the formatting options that are used during metadata serialization.

适用于