Partilhar via


BicepFunction.AsString(BicepValue<Object>) Method

Definition

Converts the specified value to a string. Strings are returned as-is. Other types are converted to their equivalent JSON representation. This represents the string Bicep function.

public static Azure.Provisioning.BicepValue<string> AsString (Azure.Provisioning.BicepValue<object> value);
static member AsString : Azure.Provisioning.BicepValue<obj> -> Azure.Provisioning.BicepValue<string>
Public Shared Function AsString (value As BicepValue(Of Object)) As BicepValue(Of String)

Parameters

value
BicepValue<Object>

The value to convert to string. Any type of value can be converted, including objects and arrays.

Returns

A string of the converted value.

Remarks

See the Bicep Functions Reference for more.

Applies to