MetadataCompatibilityOptionsBuilder 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.
Provides the ability to build the set of compatibility options that are used during metadata serialization.
public sealed class MetadataCompatibilityOptionsBuilder
type MetadataCompatibilityOptionsBuilder = class
Public NotInheritable Class MetadataCompatibilityOptionsBuilder
- Inheritance
-
MetadataCompatibilityOptionsBuilder
Constructors
MetadataCompatibilityOptionsBuilder(MetadataCompatibilityOptions) |
Creates an instance of the MetadataCompatibilityOptionsBuilder class that is initialized by the specified options. |
MetadataCompatibilityOptionsBuilder(MetadataSerializationStyle) |
Creates an instance of the MetadataCompatibilityOptionsBuilder class based on the specified style. |
Properties
CompatibilityLevel |
Gets the compatibility-level that is targeted during the metadata content serialization. |
CompatibilityMode |
Gets the compatibility-mode that is targeted during the metadata content serialization. |
Methods
GetOptions() |
Gets an instance of MetadataCompatibilityOptions initialized with the compatibility options that were chosen. |
WithoutTargetCompatibilityLevel() |
Resets on the options the compatibility-level that is targeted during the metadata content serialization. |
WithoutTargetCompatibilityMode() |
Resets on the options the compatibility-mode that is targeted during the metadata content serialization. |
WithTargetCompatibilityLevel(Int32) |
Sets on the options the compatibility-level that is targeted during the metadata content serialization. |
WithTargetCompatibilityMode(CompatibilityMode) |
Sets on the options the compatibility-mode that is targeted during the metadata content serialization. |