BrowserFormWebPart.IsCompatibleWith Method

Overrides the IsCompatibleWith(WebPart, ConnectionPoint, ConnectionPoint) method to indicate whether the instance of the InfoPath Form Web Part as a provider control can communicate with the consumer control via the specified provider and consumer connection points.

Namespace:  Microsoft.Office.InfoPath.Server.Controls.WebUI
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function IsCompatibleWith ( _
    consumerWebPart As WebPart, _
    srcConnectionPoint As ConnectionPoint, _
    targetConnectionPoint As ConnectionPoint _
) As Boolean
Dim instance As BrowserFormWebPart
Dim consumerWebPart As WebPart
Dim srcConnectionPoint As ConnectionPoint
Dim targetConnectionPoint As ConnectionPoint
Dim returnValue As Boolean

returnValue = instance.IsCompatibleWith(consumerWebPart, _
    srcConnectionPoint, targetConnectionPoint)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public bool IsCompatibleWith(
    WebPart consumerWebPart,
    ConnectionPoint srcConnectionPoint,
    ConnectionPoint targetConnectionPoint


Return Value

Type: System.Boolean
true if the instance of the InfoPath Form Web Part provider control can communicate with the consumer control; otherwise, false.


IWebPartConnectionCompatibility.IsCompatibleWith(WebPart, ConnectionPoint, ConnectionPoint)


This member is reserved for internal use and is not intended to be used directly from your code.

See Also


BrowserFormWebPart Class

BrowserFormWebPart Members

Microsoft.Office.InfoPath.Server.Controls.WebUI Namespace