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.