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
ddl
Type: System.Web.UI.WebControls.ListControlA ListControl object that represents the properties, methods, and events of the CmsDataFormWebPart component.
displayName
Type: System.StringA string that contains the display name for which to retrieve the template name.
Return Value
Type: System.String