Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function IsCompatibleWith ( _
consumerWebPart As WebPart, _
srcConnectionPoint As ConnectionPoint, _
targetConnectionPoint As ConnectionPoint _
) As Boolean
'Usage
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
)
Parameters
- consumerWebPart
Type: System.Web.UI.WebControls.WebParts.WebPart
The consumer Web Part.
- srcConnectionPoint
Type: System.Web.UI.WebControls.WebParts.ConnectionPoint
The connection point of the provider control.
- targetConnectionPoint
Type: System.Web.UI.WebControls.WebParts.ConnectionPoint
The connection point of the consumer control.
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.
Implements
IWebPartConnectionCompatibility.IsCompatibleWith(WebPart, ConnectionPoint, ConnectionPoint)
Remarks
This member is reserved for internal use and is not intended to be used directly from your code.