Share via


LogProviders.Remove(Object) Method

Definition

Removes a LogProvider object from the LogProviders collection.

public:
 void Remove(System::Object ^ index);
public void Remove (object index);
member this.Remove : obj -> unit
Public Sub Remove (index As Object)

Parameters

index
Object

The index of the LogProvider object to remove.

Examples

The following line of code shows how to remove a log provider from the package LogProviders collection.

pkg.LogProviders.Remove(0);  
pkg.LogProviders.Remove(0)  

Applies to