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.
Associe 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 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 d’une liste XML ou mappé à une cellule unique. Définissez la valeur True pour lier l’objet XPath à une colonne d’une liste XML.
Remarques
Les fonctionnalités XML, à l’exception de l’enregistrement de fichiers au format de feuille de calcul XML, sont uniquement disponibles dans Microsoft Office Professionnel Édition 2003 et Microsoft Office Excel 2003.