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