ExceptionSettings.Remove(Object) 方法

定义

ExceptionSetting从集合中删除由索引指定的对象 ExceptionSettings

public:
 void Remove(System::Object ^ Index);
public:
 void Remove(Platform::Object ^ Index);
void Remove(winrt::Windows::Foundation::IInspectable const & Index);
[System.Runtime.InteropServices.DispId(201)]
public void Remove (object Index);
[<System.Runtime.InteropServices.DispId(201)>]
abstract member Remove : obj -> unit
Public Sub Remove (Index As Object)

参数

Index
Object

要删除的 ExceptionSetting 对象的索引。

属性

注解

此方法允许您仅删除已添加的异常。 不能删除内置的异常类型。 如果尝试删除内置的异常,则将收到错误消息 "不允许删除 Built-In ExceptionSetting 对象"。

适用于