MetadataFormattingOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示元數據串行化期間所使用的格式設定選項。
public class MetadataFormattingOptions : ICloneable
type MetadataFormattingOptions = class
interface ICloneable
Public Class MetadataFormattingOptions
Implements ICloneable
- 繼承
-
MetadataFormattingOptions
- 衍生
- 實作
備註
MetadataFormattingOptions 實例是不可變的;若要設定實際選項,請使用 MetadataFormattingOptionsBuilder 類別。
屬性
Encoding |
取得元數據內容串行化中使用的編碼方式。 |
IndentationMode |
取得元數據內容串行化中的縮排模式。 |
IndentationSize |
取得單一縮排層級的大小,當空格當做元數據內容串行化中的縮排使用時。 |
NewLineStyle |
取得值,這個值用來指出元數據內容串行化中文字行的結尾。 |
明確介面實作
ICloneable.Clone() |
表示元數據串行化期間所使用的格式設定選項。 |