Namespace.TryFindType Method

Definition

public Microsoft.Quantum.QsCompiler.ResolutionResult<Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.Source,Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<string>,Microsoft.Quantum.QsCompiler.SyntaxTokens.Access>> TryFindType (string tName, Microsoft.FSharp.Core.FSharpOption<Microsoft.FSharp.Core.FSharpFunc<string,bool>> checkDeprecation);
member this.TryFindType : string * option<string -> bool> -> Microsoft.Quantum.QsCompiler.ResolutionResult<Microsoft.Quantum.QsCompiler.SyntaxTree.Source * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<string> * Microsoft.Quantum.QsCompiler.SyntaxTokens.Access>
Public Function TryFindType (tName As String, checkDeprecation As FSharpOption(Of FSharpFunc(Of String, Boolean))) As ResolutionResult(Of Tuple(Of Source, QsNullable(Of String), Access))

Parameters

tName
String
checkDeprecation
Microsoft.FSharp.Core.FSharpOption<Microsoft.FSharp.Core.FSharpFunc<String,Boolean>>

Returns

ResolutionResult<Tuple<Source,QsNullable<String>,Access>>

Applies to