Share via


ComposeFile.Version Property

Definition

Represents the version of the Docker Compose file format being used. This property specifies the format of the Compose file and determines the supported features and behaviors.

[YamlDotNet.Serialization.YamlMember(Alias="version")]
public string? Version { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="version")>]
member this.Version : string with get, set
Public Property Version As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to