NamespaceManager.AddOpenDirective 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.
[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 2, 2 })]
public Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[] AddOpenDirective (string opened, Microsoft.Quantum.QsCompiler.DataTypes.Range openedRange, string alias, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Range> aliasRange, string nsName, string source);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 2, 2 })>]
member this.AddOpenDirective : string * Microsoft.Quantum.QsCompiler.DataTypes.Range -> string * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Range> -> string * string -> Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]
Public Function AddOpenDirective (opened As String, openedRange As Range, alias As String, aliasRange As QsNullable(Of Range), nsName As String, source As String) As QsCompilerDiagnostic()
Parameters
- opened
- String
- openedRange
- Range
- alias
- String
- aliasRange
- QsNullable<Range>
- nsName
- String
- source
- String
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute