AttributeUtils.StringArgument(String) 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 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