ParserErrorCollection Construtores

Definição

Inicializa uma nova instância da ParserErrorCollection classe.

Sobrecargas

Name Description
ParserErrorCollection()

Inicializa uma nova instância da ParserErrorCollection classe.

ParserErrorCollection(ParserError[])

Inicializa uma nova instância da ParserErrorCollection classe.

ParserErrorCollection()

Inicializa uma nova instância da ParserErrorCollection classe.

public:
 ParserErrorCollection();
public ParserErrorCollection();
Public Sub New ()

Exemplos

O exemplo de código seguinte demonstra como inicializar uma instância da ParserErrorCollection classe.

// Create an empty ParserErrorCollection.
ParserErrorCollection collection = new ParserErrorCollection();
' Create an empty ParserErrorCollection.
Dim collection As New ParserErrorCollection()

Aplica-se a

ParserErrorCollection(ParserError[])

Inicializa uma nova instância da ParserErrorCollection classe.

public:
 ParserErrorCollection(cli::array <System::Web::ParserError ^> ^ value);
public ParserErrorCollection(System.Web.ParserError[] value);
new System.Web.ParserErrorCollection : System.Web.ParserError[] -> System.Web.ParserErrorCollection
Public Sub New (value As ParserError())

Parâmetros

value
ParserError[]

Um array de tipo ParserError que especifica os erros a adicionar à coleção.

Observações

O ParserErrorCollection.ParserErrorCollection construtor adiciona um array de ParserError objetos à coleção.

Aplica-se a