FormControl.Host Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the object used to access the object model of the host application.
public:
virtual property System::Object ^ Host { System::Object ^ get(); void set(System::Object ^ value); };
[System.ComponentModel.Browsable(false)]
public virtual object Host { get; set; }
member this.Host : obj with get, set
Public Overridable Property Host As Object
Property Value
The object used to access the object model of the host application.
- Attributes
Remarks
Using the Host property, custom form code can call into methods in the host application.
For more information about the FormControl object, see Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application