_XDocument3.HostName 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 the name of the application hosting InfoPath as a control.
public:
property System::String ^ HostName { System::String ^ get(); };
public string HostName { get; }
member this.HostName : string
Public ReadOnly Property HostName As String
Property Value
The name of the host application.
Remarks
This property is intended for use in scenarios where InfoPath is hosted as a control in another application and code running in InfoPath needs to access the name of the host application. Typically the host application name returned will be used in the title bar text of dialog boxes instead of "Microsoft Office InfoPath".
For a brief overview of hosting InfoPath in another application, see "The InfoPath Editor Hosted as a Control" in What's New for InfoPath Developers. For detailed information about hosting InfoPath as a control in another application, see the article titled "Hosting the InfoPath Form Editing Environment in a Custom Web Form" on the InfoPath Developer Portal
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per