FormControlXmlForm 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
<[%$TOPIC/aa973652_en-us_office_15_3_0_0_0_0%](False)> _
PublicOverridableReadOnlyPropertyXmlFormAs[%$TOPIC/aa973652_en-us_office_15_3_0_0_0_1%]Get
DiminstanceAs[%$TOPIC/aa973652_en-us_office_15_3_0_1_0_0%]DimvalueAs[%$TOPIC/aa973652_en-us_office_15_3_0_1_0_1%]value = instance.XmlForm
[[%$TOPIC/aa973652_en-us_office_15_3_0_2_0_0%](false)]
publicvirtual[%$TOPIC/aa973652_en-us_office_15_3_0_2_0_1%]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.