NamedComposeMember.Name 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 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.