/// <summary> /// Determines whether or not a symbol with the <b>exact</b> provided name is available. /// </summary> /// <param name="name">The name of the symbol to search for.</param> /// <returns>true if the symbol is available; false otherwise.</returns> public bool ContainsSymbol(string name) { Code.Require(name, "name"); LastErrorMessage = string.Empty; NativeMethods.SYMBOL_INFO symbol = new NativeMethods.SYMBOL_INFO(); return(NativeMethods.SymFromName(_libHandle, name, ref symbol)); }
/// <summary> /// Determines whether or not a symbol with the <b>exact</b> provided name is available. /// </summary> /// <param name="name">The name of the symbol to search for.</param> /// <returns>true if the symbol is available; false otherwise.</returns> public bool ContainsSymbol(string name) { Code.Require(name, "name"); LastErrorMessage = string.Empty; NativeMethods.SYMBOL_INFO symbol = new NativeMethods.SYMBOL_INFO(); return NativeMethods.SymFromName(_libHandle, name, ref symbol); }