## XmlMapCollection.Add method

Aggiungi a[`XmlMap`](../../xmlmap) dall'URL/percorso di un file xml/xsd.

```csharp
public int Add(string url)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| url | String | url/percorso di un file xml/xsd. |

### Valore di ritorno

[`XmlMap`](../../xmlmap) indice oggetto.

### Esempi

Il codice seguente ne aggiunge due[`XmlMap`](../../xmlmap) da un file xsd e un file xml.

```csharp
Workbook wb = new Workbook();

XmlMapCollection xmlMapCollection = wb.Worksheets.XmlMaps;

//Aggiungi un <see cref="T:Aspose.Cells.XmlMap" /> tramite un file xsd.
xmlMapCollection.Add("schema.xsd");

//Aggiungi un <see cref="T:Aspose.Cells.XmlMap" /> tramite un file xml.
xmlMapCollection.Add("xml.xml");

wb.Save("twoXmlMaps.xlsx");
```

### Guarda anche

* class [XmlMapCollection](../../xmlmapcollection)
* spazio dei nomi [Aspose.Cells](../../xmlmapcollection)
* assemblea [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
