XmlSchemaValidator.GetUnspecifiedDefaultAttributes(ArrayList) Metoda

Definice

Ověří omezení identity u výchozích atributů a naplní ArrayList zadané XmlSchemaAttribute objekty pro všechny atributy výchozími hodnotami, které nebyly dříve ověřeny metodou ValidateAttribute v kontextu elementu.

public:
 void GetUnspecifiedDefaultAttributes(System::Collections::ArrayList ^ defaultAttributes);
public void GetUnspecifiedDefaultAttributes (System.Collections.ArrayList defaultAttributes);
member this.GetUnspecifiedDefaultAttributes : System.Collections.ArrayList -> unit
Public Sub GetUnspecifiedDefaultAttributes (defaultAttributes As ArrayList)

Parametry

defaultAttributes
ArrayList

Chcete-li ArrayList naplnit XmlSchemaAttribute objekty pro všechny atributy, které dosud nebyly zjištěny během ověřování v kontextu elementu.

Poznámky

Metoda GetUnspecifiedDefaultAttributes musí být volána po ověření všech atributů pro aktuální prvek s metodou ValidateAttribute . Metoda GetUnspecifiedDefaultAttributes by se měla použít k určení výchozích atributů, které se mají vložit do ověřovaného dokumentu XML.

Platí pro

Viz také