Прочетете на английски Редактиране

Споделяне чрез


SymbolResolver.Remove Method

Definition

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.

C#
public bool Remove(System.Collections.Generic.KeyValuePair<string,object> item);

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

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Remove(String)

Removes a symbol from the SymbolResolver using a specified key.

C#
public bool Remove(string key);

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.

Implements

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1