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)
Available in Sandboxed Solutions: No

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