Edytuj

Udostępnij za pośrednictwem


XMLFileAdapter2 Interface

Definition

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeXMLFileAdapterObject.

public interface class XMLFileAdapter2 : Microsoft::Office::Interop::InfoPath::XMLFileAdapter
[System.Runtime.InteropServices.Guid("096CD5D5-0786-11D1-95FA-0080C78EE3BB")]
public interface XMLFileAdapter2 : Microsoft.Office.Interop.InfoPath.XMLFileAdapter
type XMLFileAdapter2 = interface
    interface XMLFileAdapter
Public Interface XMLFileAdapter2
Implements XMLFileAdapter
Derived
Attributes
Implements

Properties

FileURL

Gets or sets the Uniform Resource Locator (URL) of the XML file that is associated with the XMLFileAdapterObject object.

Name

Gets the name of an XMLFileAdapterObject object.

QueryAllowed

Always returns true.

SubmitAllowed

Always returns false.

Methods

Query()

Reads data from the associated data adapter.

Submit()

The Submit method is available for the XMLFileAdapterObject object but, because the XMLFileAdapter object is available for receiving data only, the method will always generate a run-time error when it is called on that object.

Applies to