SymbolResolver.Remove 方法

定义

SymbolResolver 中移除指定的符号。Removes the specified symbol from the SymbolResolver.

重载

Remove(KeyValuePair<String,Object>)

SymbolResolver 中移除指定的符号。Removes the specified symbol from the SymbolResolver.

Remove(String)

使用指定的键从 SymbolResolver 中移除符号。Removes a symbol from the SymbolResolver using a specified key.

Remove(KeyValuePair<String,Object>)

SymbolResolver 中移除指定的符号。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

参数

item
KeyValuePair<String,Object>

要移除的符号。The symbol to remove.

返回

如果成功找到并移除该符号,则为 true;否则为 falsetrue if the symbol is successfully found and removed; otherwise, false. 如果符号不存在,则此方法返回 falseThis method returns false if the symbol is not present.

实现

Remove(String)

使用指定的键从 SymbolResolver 中移除符号。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

参数

key
String

要移除的符号的键。The key of the symbol to remove.

返回

如果成功找到并移除该符号,则为 true;否则为 falsetrue if the symbol is successfully found and removed; otherwise, false. 如果符号不存在,则此方法返回 falseThis method returns false if the symbol is not present.

实现

适用于