XPath.SetValue(XmlMap, String, Object, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Mappe l’objet spécifié XPath à un objet ou Range à une ListColumn collection. Si l'objet XPath a été mappé précédemment à l'objet ListColumn ou à la collection Range, la méthode SetValue définit les propriétés de l'objet XPath.
public void SetValue(Microsoft.Office.Interop.Excel.XmlMap Map, string XPath, object SelectionNamespace, object Repeating);
Public Sub SetValue (Map As XmlMap, XPath As String, Optional SelectionNamespace As Object, Optional Repeating As Object)
Paramètres
- XPath
- String
Argument de type String obligatoire. Instruction XPath valide.
- SelectionNamespace
- Object
Objet facultatif. Spécifie tous les préfixes d’espace de noms utilisés dans l’argument XPath . Cet argument peut être omis si l’objet XPath ne contient aucun préfixe ou si l’objet XPath utilise les préfixes Microsoft Excel.
- Repeating
- Object
Facultatif Boolean. Spécifie si l’objet XPath doit être lié à une colonne dans une liste XML ou mappé à une seule cellule. Affectez la valeur True pour lier l’objet XPath à une colonne dans une liste XML.
Remarques
Les fonctionnalités XML, à l’exception de l’enregistrement des fichiers au format Feuille de calcul XML, sont disponibles uniquement dans Microsoft Office Professionnel Edition 2003 et Microsoft Office Excel 2003.