Edit

Share via


FormControl.Host Property

Definition

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

Applies to