Compartilhar via


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