DiscoveryExceptionDictionary.Remove(String) 方法

定义

从中删除具有指定 URL 的Exception一个 DiscoveryExceptionDictionary

public:
 void Remove(System::String ^ url);
public void Remove(string url);
member this.Remove : string -> unit
Public Sub Remove (url As String)

参数

url
String

要从中删除的 ExceptionDiscoveryExceptionDictionaryURL。

例外

urlnull

示例

// Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary->Remove( myUrlKey );
// Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary.Remove(myUrlKey);
' Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary.Remove(myUrlKey)

适用于

另请参阅