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)

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