Επεξεργασία

Κοινή χρήση μέσω


XmlSchemas.Add Method

Definition

Adds an object to the collection of the XmlSchema objects.

Overloads

Add(XmlSchema)

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

Adds an object to the end of the collection.

Add(XmlSchemas)

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

Adds an instance of the XmlSchemas class to the end of the collection.

Add(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.

Add(XmlSchema)

Source:
XmlSchemas.cs
Source:
XmlSchemas.cs
Source:
XmlSchemas.cs

Adds an object to the end of the collection.

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

public:
 int Add(System::Xml::Schema::XmlSchema ^ schema);
public int Add (System.Xml.Schema.XmlSchema schema);
member this.Add : System.Xml.Schema.XmlSchema -> int
Public Function Add (schema As XmlSchema) As Integer

Parameters

schema
XmlSchema

The XmlSchema object to be added to the collection of objects.

Returns

The index at which the XmlSchema is added.

Applies to

Add(XmlSchemas)

Source:
XmlSchemas.cs
Source:
XmlSchemas.cs
Source:
XmlSchemas.cs

Adds an instance of the XmlSchemas class to the end of the collection.

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

public:
 void Add(System::Xml::Serialization::XmlSchemas ^ schemas);
public void Add (System.Xml.Serialization.XmlSchemas schemas);
member this.Add : System.Xml.Serialization.XmlSchemas -> unit
Public Sub Add (schemas As XmlSchemas)

Parameters

schemas
XmlSchemas

The XmlSchemas object to be added to the end of the collection.

Applies to

Add(XmlSchema, Uri)

Source:
XmlSchemas.cs
Source:
XmlSchemas.cs
Source:
XmlSchemas.cs

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

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

public:
 int Add(System::Xml::Schema::XmlSchema ^ schema, Uri ^ baseUri);
public int Add (System.Xml.Schema.XmlSchema schema, Uri? baseUri);
public int Add (System.Xml.Schema.XmlSchema schema, Uri baseUri);
member this.Add : System.Xml.Schema.XmlSchema * Uri -> int
Public Function Add (schema As XmlSchema, baseUri As Uri) As Integer

Parameters

schema
XmlSchema

The XmlSchema to add.

baseUri
Uri

The Uri of the schema object.

Returns

The index at which the XmlSchema is added.

Applies to