TraceListenerCollection.IList.Add(Object) 메서드

정의

추적 수신기를 TraceListenerCollection에 추가합니다.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

매개 변수

value
Object

TraceListenerCollection에 추가할 개체입니다.

반환

새 추적 수신기가 삽입된 위치입니다.

구현

예외

valuenull입니다.

또는

value이(가) TraceListener가 아닌 경우

설명

메서드를 Add 사용하여 컬렉션에 새 추적 수신기를 추가합니다.

적용 대상