編輯

共用方式為


XmlSchemaValidator.GetExpectedAttributes Method

Definition

Returns the expected attributes for the current element context.

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()

Returns

An array of XmlSchemaAttribute objects or an empty array if there are no expected attributes.

Remarks

The following are important notes to consider when using the GetExpectedAttributes method.

Applies to

See also