_XDocument4.IsHosted property

Gets whether InfoPath is hosted as a control in another application.

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

Syntax

'Declaration
ReadOnly Property IsHosted As Boolean
    Get
'Usage
Dim instance As _XDocument4
Dim value As Boolean

value = instance.IsHosted
bool IsHosted { get; }

Property value

Type: System.Boolean
true if InfoPath is hosted as a control in another application; otherwise false.

Implements

_XDocument3.IsHosted

Remarks

This property is intended for use in scenarios where InfoPath is hosted as a control in another application.

For detailed information about hosting InfoPath in another application, see the article titled "Hosting the InfoPath Editor in a Custom WinForm Application" on the InfoPath Developer Portal on MSDN.

See also

Reference

_XDocument4 interface

_XDocument4 members

IsHosted overload

Microsoft.Office.Interop.InfoPath namespace