ParserErrorCollection Construtores
Definição
Inicializa uma nova instância da classe ParserErrorCollection.Initializes a new instance of the ParserErrorCollection class.
Sobrecargas
| ParserErrorCollection() |
Inicializa uma nova instância da classe ParserErrorCollection.Initializes a new instance of the ParserErrorCollection class. |
| ParserErrorCollection(ParserError[]) |
Inicializa uma nova instância da classe ParserErrorCollection.Initializes a new instance of the ParserErrorCollection class. |
ParserErrorCollection()
Inicializa uma nova instância da classe ParserErrorCollection.Initializes a new instance of the ParserErrorCollection class.
public:
ParserErrorCollection();
public ParserErrorCollection ();
Public Sub New ()
Exemplos
O exemplo de código a seguir demonstra como inicializar uma instância da ParserErrorCollection classe.The following code example demonstrates how to initialize an instance of the ParserErrorCollection class.
// 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 classe ParserErrorCollection.Initializes a new instance of the ParserErrorCollection class.
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[]
Uma matriz do tipo ParserError que especifica os erros a adicionar à coleção.An array of type ParserError that specifies the errors to add to the collection.
Comentários
O ParserErrorCollection.ParserErrorCollection construtor adiciona uma matriz de ParserError objetos à coleção.The ParserErrorCollection.ParserErrorCollection constructor adds an array of ParserError objects to the collection.