편집

다음을 통해 공유


XPath Interface

Definition

Represents an XPath that has been mapped to a Range or ListColumn object.

public interface class XPath
[System.Runtime.InteropServices.Guid("0002447E-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface XPath
Public Interface XPath
Attributes

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.

Use the SetValue(XmlMap, String, Object, Object) method to map an XPath to a range or list column. The SetValue method is also used to change the properties of an existing XPath.

Use the Clear() method to remove an XPath that has been mapped to a range or list column.

Properties

_Default

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.

Map

Returns an XmlMap object that represents the schema map that contains the specified XPath object. Read-only.

Parent

Returns the parent object for the specified object. Read-only.

Repeating

Returns True if the specified XPath object is mapped to an XML list; returns False if the XPath object is mapped to a single cell. Read-only Boolean.

Value

Returns a String that represents the XPath for the specified object.

Methods

Clear()

Clears the schema mapping from the cells mapped to the specified XPath.

SetValue(XmlMap, String, Object, Object)

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.

Applies to