XmlSchemas::Add Method (XmlSchema^, Uri^)

 

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:
int Add(
	XmlSchema^ schema,
	Uri^ baseUri
)

Parameters

schema
Type: System.Xml.Schema::XmlSchema^

The XmlSchema to add.

baseUri
Type: System::Uri^

The Uri of the schema object.

Return Value

Type: System::Int32

The index at which the XmlSchema is added.

.NET Framework
Available since 2.0
Return to top
Show: