XmlSchemaValidator.GetUnspecifiedDefaultAttributes(ArrayList) メソッド

定義

既定の属性に対する ID 制約を検証します。さらに、これまで要素コンテキストで ArrayList メソッドを使用して検証されたことのない、既定値を持つ任意の属性について、XmlSchemaAttribute オブジェクトで指定された ValidateAttribute を設定します。

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)

パラメーター

defaultAttributes
ArrayList

要素コンテキストで検証を実行しているときにまだ検出されたことのない属性について、ArrayList オブジェクトを使用して設定する XmlSchemaAttribute

注釈

メソッドを GetUnspecifiedDefaultAttributes 使用して現在の要素のすべての属性を検証した後で、メソッドを呼び出す ValidateAttribute 必要があります。 GetUnspecifiedDefaultAttributes メソッドは、検証中の XML ドキュメントに挿入される既定の属性を決定するために使用します。

適用対象

こちらもご覧ください