Edytuj

Udostępnij za pośrednictwem


XmlDataBinding Interface

Definition

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

public interface class XmlDataBinding
[System.Runtime.InteropServices.Guid("00024478-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface XmlDataBinding
Public Interface XmlDataBinding
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 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.

Properties

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

Parent

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

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.

Methods

ClearSettings()

Removes the specified data binding.

LoadSettings(String)

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

Refresh()

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

Applies to