This documentation is archived and is not being maintained.

DataListDesigner.GetTemplateContent Method

Gets the template's content.

[Visual Basic]
Overrides Public Function GetTemplateContent( _
   ByVal editingFrame As ITemplateEditingFrame, _
   ByVal templateName As String, _
   <Out()> ByRef allowEditing As Boolean _
) As String
[C#]
public override string GetTemplateContent(
 ITemplateEditingFrame editingFrame,
 string templateName,
   out bool allowEditing
);
[C++]
public: String* GetTemplateContent(
 ITemplateEditingFrame* editingFrame,
 String* templateName,
   [
   Out
] bool* allowEditing
);
[JScript]
public override function GetTemplateContent(
   editingFrame : ITemplateEditingFrame,
 templateName : String,
 allowEditing : Boolean
) : String;

Parameters

editingFrame
The ITemplateEditingFrame to get content from.
templateName
The name of the template.
allowEditing
true if the template's content can be edited; false if the content is read-only.

Return Value

The template's content.

Example

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

DataListDesigner Class | DataListDesigner Members | System.Web.UI.Design.WebControls Namespace

Show: