Partager via


XPath.SetValue(XmlMap, String, Object, Object) Méthode

Définition

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

Map
XmlMap

Obligatoire XmlMap. Mappage de schéma qui contient des informations sur l’objet XPath .

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.

S’applique à