MetadataSchemaSerializationOptions 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.
Represents the set of options that are used during a metadata schema serialization action.
public class MetadataSchemaSerializationOptions : ICloneable
type MetadataSchemaSerializationOptions = class
interface ICloneable
Public Class MetadataSchemaSerializationOptions
Implements ICloneable
- Inheritance
-
MetadataSchemaSerializationOptions
- Implements
Remarks
A MetadataSchemaSerializationOptions instance is immutable; to set up the actual options, use the MetadataSchemaSerializationOptionsBuilder class, or the WithXXX\WithoutXXX entension methods.
Properties
| Name | Description |
|---|---|
| Compatibility |
Gets an optional compatibility options that should be used when serializing the metadata. |
| Default |
Gets the default options for metadata schema serialization activity. |
| Formatting |
Gets an optional formatting options that should be used when generating the metadata content. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ICloneable.Clone() | |
Extension Methods
| Name | Description |
|---|---|
| WithCompatibilityOptions(MetadataSchemaSerializationOptions, MetadataCompatibilityOptions) |
Sets the compatibility options that should be used during the serialization. |
| WithFormattingOptions(MetadataSchemaSerializationOptions, MetadataFormattingOptions) |
Sets the formatting options that should be used when generating the metadata content. |
| WithoutCompatibilityOptions(MetadataSchemaSerializationOptions) |
Resets the compatibility options that should be used during the serialization, and restore the default options. |
| WithoutFormattingOptions(MetadataSchemaSerializationOptions) |
Resets the formatting options that should be used when generating the metadata content, and restore the default options. |