BicepFunction.AsString(BicepValue<Object>) Method
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.
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
Azure SDK for .NET