你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BicepFunction.Interpolate 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.
Overloads
Interpolate(BicepInterpolatedStringHandler) |
Convert a formattable string with literal text, C# expressions, and Bicep expressions into an interpolated Bicep string. |
Interpolate(FormattableString) |
Convert a formattable string with literal text, C# expressions, and Bicep expressions into an interpolated Bicep string. |
Interpolate(BicepInterpolatedStringHandler)
- Source:
- BicepFunction.cs
Convert a formattable string with literal text, C# expressions, and Bicep expressions into an interpolated Bicep string.
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
A bicep interpolated string handler.
Returns
An interpolated string.
Applies to
Interpolate(FormattableString)
- Source:
- BicepFunction.cs
Convert a formattable string with literal text, C# expressions, and Bicep expressions into an interpolated Bicep string.
public static Azure.Provisioning.BicepValue<string> Interpolate (FormattableString text);
static member Interpolate : FormattableString -> Azure.Provisioning.BicepValue<string>
Public Shared Function Interpolate (text As FormattableString) As BicepValue(Of String)
Parameters
- text
- FormattableString
The formattable string.
Returns
An interpolated string.