XmlSchemaValidator.GetExpectedAttributes Metod

Definition

Returnerar de förväntade attributen för den aktuella elementkontexten.

public:
 cli::array <System::Xml::Schema::XmlSchemaAttribute ^> ^ GetExpectedAttributes();
public System.Xml.Schema.XmlSchemaAttribute[] GetExpectedAttributes();
member this.GetExpectedAttributes : unit -> System.Xml.Schema.XmlSchemaAttribute[]
Public Function GetExpectedAttributes () As XmlSchemaAttribute()

Returer

En matris med XmlSchemaAttribute objekt eller en tom matris om det inte finns några förväntade attribut.

Kommentarer

Följande är viktiga att tänka på när du använder GetExpectedAttributes metoden.

Gäller för

Se även