共用方式為


DataFormWebPart.ShouldToolPartShowDataSourceID Property

Indicates whether a DataFormWebPart object should show the DataSourceID editor portion of the tool part.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property ShouldToolPartShowDataSourceID As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.ShouldToolPartShowDataSourceID
protected virtual bool ShouldToolPartShowDataSourceID { get; }

Property Value

Type: System.Boolean

Remarks

Returns a Boolean value that is true if the DataFormWebPart object created by the GetToolParts method should show the DataSourceID editor portion of the tool part.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace