OpenXmlPart.ValidateXml メソッド

定義

オーバーロード

ValidateXml(String, ValidationEventHandler)
古い.

指定したスキーマを使用して、パーツの XML コンテンツを検証します。

ValidateXml(XmlSchemaSet, ValidationEventHandler)
古い.

指定したスキーマを使用して、パーツの XML コンテンツを検証します。

ValidateXml(String, ValidationEventHandler)

注意事項

This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.

指定したスキーマを使用して、パーツの XML コンテンツを検証します。

public void ValidateXml (string schemaFile, System.Xml.Schema.ValidationEventHandler validationEventHandler);
[System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)]
public void ValidateXml (string schemaFile, System.Xml.Schema.ValidationEventHandler validationEventHandler);
member this.ValidateXml : string * System.Xml.Schema.ValidationEventHandler -> unit
[<System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)>]
member this.ValidateXml : string * System.Xml.Schema.ValidationEventHandler -> unit
Public Sub ValidateXml (schemaFile As String, validationEventHandler As ValidationEventHandler)

パラメーター

schemaFile
String

使用する XML スキーマ。

validationEventHandler
ValidationEventHandler

検証イベントの ValidationEventHandler。

属性

適用対象

ValidateXml(XmlSchemaSet, ValidationEventHandler)

注意事項

This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.

指定したスキーマを使用して、パーツの XML コンテンツを検証します。

public void ValidateXml (System.Xml.Schema.XmlSchemaSet schemas, System.Xml.Schema.ValidationEventHandler validationEventHandler);
[System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)]
public void ValidateXml (System.Xml.Schema.XmlSchemaSet schemas, System.Xml.Schema.ValidationEventHandler validationEventHandler);
member this.ValidateXml : System.Xml.Schema.XmlSchemaSet * System.Xml.Schema.ValidationEventHandler -> unit
[<System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)>]
member this.ValidateXml : System.Xml.Schema.XmlSchemaSet * System.Xml.Schema.ValidationEventHandler -> unit
Public Sub ValidateXml (schemas As XmlSchemaSet, validationEventHandler As ValidationEventHandler)

パラメーター

schemas
XmlSchemaSet

使用する XML スキーマのセット。

validationEventHandler
ValidationEventHandler

検証イベントの ValidationEventHandler。

属性

適用対象