NamespaceManager.TryGetType(QsQualifiedName, String, String) Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2 })]
public Microsoft.Quantum.QsCompiler.ResolutionResult<Microsoft.Quantum.QsCompiler.TypeDeclarationHeader> TryGetType (Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName typeName, string nsName, string source);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2 })>]
member this.TryGetType : Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName -> string * string -> Microsoft.Quantum.QsCompiler.ResolutionResult<Microsoft.Quantum.QsCompiler.TypeDeclarationHeader>
Public Function TryGetType (typeName As QsQualifiedName, nsName As String, source As String) As ResolutionResult(Of TypeDeclarationHeader)

Parameters

typeName
QsQualifiedName
nsName
String
source
String

Returns

ResolutionResult<TypeDeclarationHeader>
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to