XmlSchemas.AddReference 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.

Adds an XmlSchema object that represents an assembly reference to the collection.

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

public void AddReference(
	XmlSchema schema
)

Parameters

schema
Type: System.Xml.Schema.XmlSchema

The XmlSchema to add.

.NET Framework
Available since 2.0
Return to top
Show: