Share via


NamedComposeMember.Name Property

Definition

Gets or sets the name of the Docker Compose member.

[YamlDotNet.Serialization.YamlIgnore]
public string Name { get; set; }
[<YamlDotNet.Serialization.YamlIgnore>]
member this.Name : string with get, set
Public Property Name As String

Property Value

Attributes
YamlDotNet.Serialization.YamlIgnoreAttribute

Remarks

This property is used to uniquely identify the member (e.g., network, service) within the Docker Compose configuration. It must be explicitly defined for all derived types.

Applies to