Share via


XmlFormHostItem.QueryContract Method

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

This member overrides RemoteObjectAdapterQueryContract(String).

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Protected Overrides Function QueryContract ( _
    contractIdentifier As String _
) As IContract
'Usage
Dim contractIdentifier As String
Dim returnValue As IContract

returnValue = Me.QueryContract(contractIdentifier)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
protected override IContract QueryContract(
    string contractIdentifier
)

Parameters

Return Value

Type: System.AddIn.Contract.IContract

See Also

Reference

XmlFormHostItem Class

XmlFormHostItem Members

Microsoft.Office.InfoPath Namespace