combit List & Label 24 - .NET Online Web Help
XmlDataProvider Constructor(IXPathNavigable)
Example 


combit.ListLabel24.DataProviders Namespace > XmlDataProvider Class > XmlDataProvider Constructor : XmlDataProvider Constructor(IXPathNavigable)
The IXPathNavigable to use (e.g. XPathDocument).
Initializes the data provider to access the data in the specified IXPathNavigable.
Syntax
'Declaration
 
Public Function New( _
   ByVal document As IXPathNavigable _
)
public XmlDataProvider( 
   IXPathNavigable document
)
public:
XmlDataProvider( 
   IXPathNavigable^ document
)

Parameters

document
The IXPathNavigable to use (e.g. XPathDocument).
Example
XPathDocument myDoc = new XPathDocument(@"c:\users\public\data.xml");
XmlDataProvider provider = new XmlDataProvider(myDoc);
LL.DataSource = provider;
LL.Design();
Dim myDoc As New XPathDocument("c:\users\public\data.xml")
Dim provider As New XmlDataProvider(myDoc)
LL.DataSource = provider
LL.Design()
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

XmlDataProvider Class
XmlDataProvider Members
Overload List