你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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