Share via


MetadataCompatibilityOptionsBuilder.CompatibilityLevel Property

Definition

Gets the compatibility-level that is targeted during the metadata content serialization.

public int CompatibilityLevel { get; }
member this.CompatibilityLevel : int
Public ReadOnly Property CompatibilityLevel As Integer

Property Value

A Int32 with the level; the default value is -1 that indicates no restrictions.

Applies to