BicepFunction.Interpolate(BicepInterpolatedStringHandler) 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.
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.