SymbolResolver.Remove 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.
Removes the specified symbol from the SymbolResolver.
Overloads
Remove(KeyValuePair<String,Object>) |
Removes the specified symbol from the SymbolResolver. |
Remove(String) |
Removes a symbol from the SymbolResolver using a specified key. |
Remove(KeyValuePair<String,Object>)
Removes the specified symbol from the SymbolResolver.
public:
virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Public Function Remove (item As KeyValuePair(Of String, Object)) As Boolean
Parameters
- item
- KeyValuePair<String,Object>
The symbol to remove.
Returns
true
if the symbol is successfully found and removed; otherwise, false
. This method returns false
if the symbol is not present.
Implements
Applies to
Remove(String)
Removes a symbol from the SymbolResolver using a specified key.
public:
virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean
Parameters
- key
- String
The key of the symbol to remove.
Returns
true
if the symbol is successfully found and removed; otherwise, false
. This method returns false
if the symbol is not present.