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.

See also

Reference

XmlFormHostItem class

XmlFormHostItem members

Microsoft.Office.InfoPath namespace