CmsDataFormWebPart.GetDisplayName method

Returns the display name of the CmsDataFormWebPart component.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Protected Shared Function GetDisplayName ( _
    ddl As ListControl, _
    templateName As String _
) As String
'Usage
Dim ddl As ListControl
Dim templateName As String
Dim returnValue As String

returnValue = CmsDataFormWebPart.GetDisplayName(ddl, _
    templateName)
protected static string GetDisplayName(
    ListControl ddl,
    string templateName
)

Parameters

  • templateName
    Type: System.String

    A string that contains the name of the template for which to retrieve the display name.

Return value

Type: System.String

See also

Reference

CmsDataFormWebPart class

CmsDataFormWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace