Share via


XmlFormHostItem.GetHostObject method

This member has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses this member throws a MethodAccessException.

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

Syntax

'Declaration
<SecurityCriticalAttribute> _
Protected Function GetHostObject ( _
    primaryType As String, _
    cookie As String _
) As Object
'Usage
Dim primaryType As String
Dim cookie As String
Dim returnValue As Object

returnValue = Me.GetHostObject(primaryType, _
    cookie)
[SecurityCriticalAttribute]
protected Object GetHostObject(
    string primaryType,
    string cookie
)

Parameters

Return value

Type: System.Object
Returns Object.

See also

Reference

XmlFormHostItem class

XmlFormHostItem members

Microsoft.Office.InfoPath namespace