XPath.SetValue(XmlMap, String, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maps the specified XPath object to a ListColumn object or Range collection. If the XPath object has previously been mapped to the ListColumn object or Range collection, the SetValue method sets the properties of the XPath object.
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)
Parameters
- XPath
- String
Required String. A valid XPath statement.
- SelectionNamespace
- Object
Optional Object. Specifies any namespace prefixes used in the XPath
argument. This argument can be omitted if the XPath object doesn't contain any prefixes, or if the XPath object uses the Microsoft Excel prefixes.
- Repeating
- Object
Optional Boolean. Specifies whether the XPath object is to be bound to a column in an XML list, or mapped to a single cell. Set to True to bind the XPath object to a column in an XML list.
Remarks
XML features, except for saving files in the XML Spreadsheet format, are available only in Microsoft Office Professional Edition 2003 and Microsoft Office Excel 2003.