Compartir a través de


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