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.

적용 대상