XmlSchemas.IsDataSet Method (XmlSchema)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product 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
Available since 1.1
Return to top
Show: