共用方式為


IWithMetadata<ParentT>.WithMetadata(String, String) Method

Definition

Adds a metadata to the resource.

public Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.Definition.IWithAttach<ParentT> WithMetadata (string key, string value);
abstract member WithMetadata : string * string -> Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.Definition.IWithAttach<'ParentT>
Public Function WithMetadata (key As String, value As String) As IWithAttach(Of ParentT)

Parameters

key
String

The key for the metadata.

value
String

The value for the metadata.

Returns

Applies to