FormControl.XmlForm property

Gets an XmlForm object associated with the hosted FormControl object.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath.FormControl (in Microsoft.Office.InfoPath.FormControl.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property XmlForm As XmlForm
    Get
'Usage
Dim instance As FormControl
Dim value As XmlForm

value = instance.XmlForm
[BrowsableAttribute(false)]
public virtual XmlForm XmlForm { get; }

Property value

Type: Microsoft.Office.InfoPath.XmlForm
An XmlForm object associated with the hosted FormControl object.

Remarks

The XmlForm object returned can be used to access and work with members of the InfoPath object model.

For more information about the FormControl object, see Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application.

See also

Reference

FormControl class

FormControl members

Microsoft.Office.InfoPath namespace