Share via


XmlFormHostItem.GetInfrastructureService method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Function GetInfrastructureService As IServiceProviderContract
'Usage
Dim instance As XmlFormHostItem
Dim returnValue As IServiceProviderContract

returnValue = instance.GetInfrastructureService()
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public IServiceProviderContract GetInfrastructureService()

Return value

Type: System.AddIn.Contract.IServiceProviderContract

See also

Reference

XmlFormHostItem class

XmlFormHostItem members

Microsoft.Office.InfoPath namespace