ExceptionSettings.Remove Method
Deletes the ExceptionSetting object specified by index from the ExceptionSettings collection.
Namespace: EnvDTE90
Assembly: EnvDTE90 (in EnvDTE90.dll)
Syntax
'Declaration
Sub Remove ( _
Index As Object _
)
void Remove(
Object Index
)
void Remove(
[InAttribute] Object^ Index
)
abstract Remove :
Index:Object -> unit
function Remove(
Index : Object
)
Parameters
Index
Type: System.ObjectThe index of the ExceptionSetting object to remove.
Remarks
This method allows you to delete only exceptions that you have added. Built-in exception types cannot be deleted. If you attempt to delete a built-in exception, you will get the error message "Deletion of Built-In ExceptionSetting objects is not allowed."
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.