AttributeUtils.StringArgument(String) Method

Definition

Builds a string literal with the given content that can be used as argument to a Q# attribute. The value of the string literal is set to the empty string if the given content is null.

public static Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression StringArgument (string content);
static member StringArgument : string -> Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression
Public Shared Function StringArgument (content As String) As TypedExpression

Parameters

content
String

Returns

TypedExpression

Applies to