System.Xml.Serialization.XmlSchemas.IsDataSet Method

Static method that determines whether the specified XML schema contains a custom IsDataSet attribute set to true, or its equivalent.

Syntax

public static bool IsDataSet (System.Xml.Schema.XmlSchema schema)

Parameters

schema
The XML schema to check for an IsDataSet attribute with a true value.

Returns

true if the specified schema exists; otherwise, false.

Remarks

The IsDataSet attribute comes from the namespace urn:schemas-microsoft-com:xml-msdata.

The XmlSchemas.IsDataSet(System.Xml.Schema.XmlSchema) method is called by the .NET Framework's XML serialization infrastructure and does not need to be called directly.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0