Partilhar via


ComputeBatchModelFactory.NameValuePair(String, String) Method

Definition

Initializes a new instance of NameValuePair.

public static Azure.Compute.Batch.NameValuePair NameValuePair (string name = default, string value = default);
static member NameValuePair : string * string -> Azure.Compute.Batch.NameValuePair
Public Shared Function NameValuePair (Optional name As String = Nothing, Optional value As String = Nothing) As NameValuePair

Parameters

name
String

The name in the name-value pair.

value
String

The value in the name-value pair.

Returns

A new NameValuePair instance for mocking.

Applies to