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

Définition

Cartes l’objet XPath spécifié à un ListColumn objet ou à une Range 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 . Plan 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 les préfixes d’espace de noms utilisés dans XPath l’argument. Cet argument peut être omis si l’objet XPath ne contient aucun préfixe ou si l’objet XPath utilise les Microsoft Excel préfixes.

Repeating
Object

Facultatif Boolean. Spécifie si l’objet XPath doit être lié à une colonne dans une liste XML ou être mappé à une seule cellule. Définissez cette valeur sur 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 feuille de calcul XML, sont disponibles uniquement dans Microsoft Office Professional Edition 2003 et Microsoft Office Excel 2003.

S’applique à