MetadataCompatibilityOptionsBuilder.CompatibilityLevel Property
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.
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.