XmlFormHostItem.QueryContract Method (Microsoft.Office.InfoPath)

This method is reserved for internal use 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
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<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)
[EditorBrowsableAttribute(EditorBrowsableState.Never)] 
[PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust")] 
protected override IContract QueryContract (
    string contractIdentifier
)

Parameters

  • contractIdentifier

See Also

Reference

XmlFormHostItem Class
XmlFormHostItem Members
Microsoft.Office.InfoPath Namespace