Share via


DataFormConsumerConnectionPoint.GetEnabled method

Gets a value that indicates whether the DataFormConsumerConnectionPoint can participate in connections.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Function GetEnabled ( _
    control As Control _
) As Boolean
'Usage
Dim instance As DataFormConsumerConnectionPoint
Dim control As Control
Dim returnValue As Boolean

returnValue = instance.GetEnabled(control)
public override bool GetEnabled(
    Control control
)

Parameters

Return value

Type: System.Boolean
true if the control can create a DataFormConsumerConnectionPoint to participate in a connection; otherwise, false.

Remarks

This override returns false if the InterfaceType is IWebPartParameters and the control is a DataFormWebPart that does not consume parameters; otherwise, true.

See also

Reference

DataFormConsumerConnectionPoint class

DataFormConsumerConnectionPoint members

Microsoft.SharePoint.WebPartPages namespace