編輯

共用方式為


InfoPathEditor.Host Property

Definition

Gets or sets the object used to access the object model of the host application.

public:
 property System::Object ^ Host { System::Object ^ get(); void set(System::Object ^ value); };
public object Host { get; set; }
member this.Host : obj with get, set
Public Property Host As Object

Property Value

The object used to access the object model of the host application.

Remarks

Using the Host property, custom form code can call into methods in the host application.

For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form ApplicationWhat's New for InfoPath Developers.

Applies to