Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

XmlSchemaValidator.GetUnspecifiedDefaultAttributes(ArrayList) Method

Definition

Namespace:
System.Xml.Schema
Assemblies:
netstandard.dll, System.Xml.ReaderWriter.dll
Assembly:
System.Xml.ReaderWriter.dll
Assembly:
System.Xml.dll
Assembly:
netstandard.dll
Source:
XmlSchemaValidator.cs
Source:
XmlSchemaValidator.cs
Source:
XmlSchemaValidator.cs
Source:
XmlSchemaValidator.cs
Source:
XmlSchemaValidator.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Validates identity constraints on the default attributes and populates the ArrayList specified with XmlSchemaAttribute objects for any attributes with default values that have not been previously validated using the ValidateAttribute method in the element context.

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)

Parameters

defaultAttributes
ArrayList

An ArrayList to populate with XmlSchemaAttribute objects for any attributes not yet encountered during validation in the element context.

Remarks

The GetUnspecifiedDefaultAttributes method must be called after validating all the attributes for the current element with the ValidateAttribute method. The GetUnspecifiedDefaultAttributes method should be used to determine what default attributes are to be inserted into the XML document being validated.

Applies to

See also


Feedback

Was this page helpful?