ExceptionSettings.Remove(Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 对象"。