Share via


XMLFileAdapter2 Members

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.

The following tables list the members exposed by the XMLFileAdapter2 type.

Public Properties

  Name Description
Public property FileURL Gets or sets the Uniform Resource Locator (URL) of the XML file that is associated with the XMLFileAdapterObject object.
Public property Name Gets the name of an XMLFileAdapterObject object.
Public property QueryAllowed Always returns true.
Public property SubmitAllowed Always returns false.

Top

Public Methods

  Name Description
Public method Query Reads data from the associated data adapter.
Public method 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.

Top

See Also

Reference

XMLFileAdapter2 Interface
Microsoft.Office.Interop.InfoPath Namespace