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