Compartir a través de


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