XmlFormHostItem.GetPrimaryControl 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
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
Protected Overridable Function GetPrimaryControl As XmlForm
'Usage
Dim returnValue As XmlForm
returnValue = Me.GetPrimaryControl()
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
protected virtual XmlForm GetPrimaryControl()
Return Value
Type: Microsoft.Office.InfoPath.XmlForm
Returns XmlForm.