ReadOnlySymbolTable.TryGetSymbolType(String, FormulaType) 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.
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.
- type
- FormulaType