Share via


BaseXsltDataWebPart.ShouldSerializeListName Method

Returns a value that indicates whether the List 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 ShouldSerializeListName As Boolean
'Usage
Dim instance As BaseXsltDataWebPart
Dim returnValue As Boolean

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

Return Value

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

Remarks

This method returns true if the List Name property is not null and SerializeAll is true.

See Also

Reference

BaseXsltDataWebPart Class

BaseXsltDataWebPart Members

Microsoft.SharePoint.WebPartPages Namespace