ParserErrorCollection.Remove(ParserError) 메서드

정의

컬렉션에서 지정된 ParserError 개체를 제거합니다.

public:
 void Remove(System::Web::ParserError ^ value);
public void Remove (System.Web.ParserError value);
member this.Remove : System.Web.ParserError -> unit
Public Sub Remove (value As ParserError)

매개 변수

value
ParserError

컬렉션에서 제거할 ParserError입니다.

예제

다음 코드 예제를 제거 하는 방법에 설명 된 ParserError 의 지정 된 인덱스에서를 ParserErrorCollection 개체.

// Insert a ParserError at index 0 of the collection.
ParserError error = new ParserError("Error", "Path", 1);
collection.Insert(0, error);

// Remove the specified ParserError from the collection.
collection.Remove(error);
' Insert a ParserError at index 0 of the collection.
Dim [error] As New ParserError("Error", "Path", 1)
collection.Insert(0, [error])

' Remove the specified ParserError from the collection.
collection.Remove([error])

설명

사용 하 여는 Remove 제거 하는 방법을 ParserError 에 대 한 참조가 있는 경우 컬렉션에서 개체를 ParserError입니다.

적용 대상