共用方式為


BaseXsltDataWebPart.ShouldSerializeDisplayName Method

Returns a value that indicates whether the Display Name property differs from its default value.

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

Syntax

'Declaration
Public Function ShouldSerializeDisplayName As Boolean
'Usage
Dim instance As BaseXsltDataWebPart
Dim returnValue As Boolean

returnValue = instance.ShouldSerializeDisplayName()
public bool ShouldSerializeDisplayName()

Return Value

Type: System.Boolean
true if the Display Name property differs from its default value; otherwise, false.

Remarks

true if the user has special privileges on the Web Part; otherwise, false.

See Also

Reference

BaseXsltDataWebPart Class

BaseXsltDataWebPart Members

Microsoft.SharePoint.WebPartPages Namespace