Share via


SubmitToHostAdapter.SubmitAllowed property

The SubmitAllowed property is available for the SubmitToHostAdapter object but, because the SubmitToHostAdapter object is available for submitting data only, the property always returns true.

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

Syntax

'Declaration
ReadOnly Property SubmitAllowed As Boolean
    Get
'Usage
Dim instance As SubmitToHostAdapter
Dim value As Boolean

value = instance.SubmitAllowed
bool SubmitAllowed { get; }

Property value

Type: System.Boolean
Because the SubmitToHostAdapter object is available for submitting data only, the property always returns true.

Remarks

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See also

Reference

SubmitToHostAdapter interface

SubmitToHostAdapter members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace