Condividi tramite


DataFormWebPart.ShouldConsumeParameters Method

Indicates whether the DataFormWebPart should consume parameters.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Function ShouldConsumeParameters As Boolean
'Usage
Dim instance As DataFormWebPart
Dim returnValue As Boolean

returnValue = instance.ShouldConsumeParameters()
public virtual bool ShouldConsumeParameters()

Return Value

Type: System.Boolean
true if the DataFormWebPart should consume parameters; otherwise, false.

Remarks

This virtual method always returns true.

This virtual method can be implemented in a subclass to return a value that indicates whether the DataFormWebPart should consume parameters.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace