MetadataSerializationOptionsBuilderExtensions Class
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.
A utility class that provides extension methods to the MetadataFormattingOptionsBuilder class.
public static class MetadataSerializationOptionsBuilderExtensions
type MetadataSerializationOptionsBuilderExtensions = class
Public Module MetadataSerializationOptionsBuilderExtensions
- Inheritance
-
MetadataSerializationOptionsBuilderExtensions
Methods
GetExpressionTrimStyle(MetadataSerializationOptionsBuilder) |
Gets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text; default is TrimTrailingWhitespaces. |
IsMetadataOrderHintsExcluded(MetadataSerializationOptionsBuilder) |
Gets an indication if the serialized TMDL content should not include hints for the order of metadata elements; default is false, indicating to included in the generated TMDL. |
WithExpressionTrimStyle(MetadataSerializationOptionsBuilder, TmdlExpressionTrimStyle) |
Sets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text. |
WithMetadataOrderHints(MetadataSerializationOptionsBuilder) |
Sets an indication that metadata-order hints should be included in the generated TMDL content. |
WithoutMetadataOrderHints(MetadataSerializationOptionsBuilder) |
Sets an indication that metadata-order hints should not be included in the generated TMDL content. |