Share via


BicepFunction.Interpolate(BicepInterpolatedStringHandler) Method

Definition

Builds a Bicep interpolated string expression from C# interpolated string syntax or a FormattableString instance. Use this method to combine literal text, C# expressions and Bicep expressions into a single Bicep string value.

public static Azure.Provisioning.BicepValue<string> Interpolate(Azure.Provisioning.Expressions.BicepInterpolatedStringHandler handler);
static member Interpolate : Azure.Provisioning.Expressions.BicepInterpolatedStringHandler -> Azure.Provisioning.BicepValue<string>
Public Shared Function Interpolate (handler As BicepInterpolatedStringHandler) As BicepValue(Of String)

Parameters

handler
BicepInterpolatedStringHandler

The BicepInterpolatedStringHandler that collects literal and formatted segments from the interpolated string.

Returns

A BicepValue<T> representing the constructed Bicep interpolated string expression of type string.

Applies to