ReadOnlySymbolTable.TryGetSymbolType(String, FormulaType) Method

Definition

Lookup a symbol's type by name. Symbols includes both variables that have slots (that would be found with TryLookupSlot(String, ISymbolSlot), as well as constants that don't have slots (like Enums, OptionSets, constants). It does not include Functions since those are in a different namespace. Results here should be consistent with SymbolNames.

public bool TryGetSymbolType(string name, out Microsoft.PowerFx.Types.FormulaType type);
member this.TryGetSymbolType : string * FormulaType -> bool
Public Function TryGetSymbolType (name As String, ByRef type As FormulaType) As Boolean

Parameters

name
String

logical or display name of a symbol.

Returns

Applies to