CmsDataFormWebPart.GetTemplateName method

Returns the template name of the CmsDataFormWebPart component.

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

Syntax

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

returnValue = CmsDataFormWebPart.GetTemplateName(ddl, _
    displayName)
protected static string GetTemplateName(
    ListControl ddl,
    string displayName
)

Parameters

  • displayName
    Type: System.String

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

Return value

Type: System.String

See also

Reference

CmsDataFormWebPart class

CmsDataFormWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace