The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
TraceListenerCollection::Item Property (String^)
.NET Framework (current version)
Gets the first TraceListener in the list with the specified name.
Assembly: System (in System.dll)
public: property TraceListener^ default[ String^ name ] { TraceListener^ get(String^ name); }
Parameters
- name
-
Type:
System::String^
The name of the TraceListener to get from the list.
Property Value
Type: System.Diagnostics::TraceListener^The first TraceListener in the list with the given Name. This item returns null if no TraceListener with the given name can be found.
The Item property is case-sensitive when searching for names. That is, if two listeners exist with the names "Lname" and "lname", Item property will find only the TraceListener with the Name that you specify, not both.
.NET Framework
Available since 1.1
Available since 1.1
Show: