ComposeFile.Extensions 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.
Represents a collection of user-defined extension fields that can be added to the Compose file. These extensions are represented as a dictionary where the key is a string identifier for the extension, and the value is an object that holds the custom data relevant to the extension. This allows flexibility for including additional metadata or configuration outside the scope of standard Compose file specifications.
[YamlDotNet.Serialization.YamlMember(Alias="extensions", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.Dictionary<string,object> Extensions { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="extensions", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Extensions : System.Collections.Generic.Dictionary<string, obj> with get, set
Public Property Extensions As Dictionary(Of String, Object)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute