Export (0) Print
Expand All

XmlSchemas.IsDataSet Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public static bool IsDataSet(
	XmlSchema schema
)

Parameters

schema
Type: System.Xml.Schema.XmlSchema

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

Return Value

Type: System.Boolean
true if the specified schema exists; otherwise, false.

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

The IsDataSet method is called by the .NET Framework's XML serialization infrastructure and does not need to be called directly.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft