TraceListenerCollection.IList.Add(Object) TraceListenerCollection.IList.Add(Object) TraceListenerCollection.IList.Add(Object) Method

Definition

Adds a trace listener to the TraceListenerCollection.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
Function Add (value As Object) As Integer Implements IList.Add

Parameters

value
Object Object Object

The object to add to the TraceListenerCollection.

Returns

The position into which the new trace listener was inserted.

Implements

Exceptions

Remarks

Use the Add method to add a new trace listener to the collection.

Applies to