XmlDataBinding XmlDataBinding XmlDataBinding Interface


Represents the connection to the source data for an XmlMap object.

public interface class XmlDataBinding
public interface XmlDataBinding
Public Interface XmlDataBinding


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 LoadSettings(String) method to initialize the settings for an XmlDataBinding object.

Use the Refresh() method to refresh a data binding.

Use the ClearSettings() method to remove a data binding.


_Default _Default _Default
Application Application Application

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

Creator Creator 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.

Parent Parent Parent

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

SourceUrl SourceUrl SourceUrl

Returns a String that represents the path to the XML data file, the Data Retrieval Service Connection (.uxdc) file, or the Web service that provides the source data for the specified data binding. Read-only.


ClearSettings() ClearSettings() ClearSettings()

Removes the specified data binding.

LoadSettings(String) LoadSettings(String) LoadSettings(String)

Initializes the specified data binding with settings from an XML data file or a Data Retrieval Service Connection (.uxdc) file.

Refresh() Refresh() Refresh()

Retrieves XML data using the current connection settings of the specified XmlDataBinding object. Returns XlXmlImportResult.

Applies to