DynamicFieldDesigner.GetTemplateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the content of the template field.
public:
System::String ^ GetTemplateContent(System::Web::UI::WebControls::DataControlField ^ dataControlField, System::Web::UI::WebControls::DataBoundControlMode mode);
public string GetTemplateContent (System.Web.UI.WebControls.DataControlField dataControlField, System.Web.UI.WebControls.DataBoundControlMode mode);
member this.GetTemplateContent : System.Web.UI.WebControls.DataControlField * System.Web.UI.WebControls.DataBoundControlMode -> string
Public Function GetTemplateContent (dataControlField As DataControlField, mode As DataBoundControlMode) As String
Parameters
- dataControlField
- DataControlField
The data field object.
- mode
- DataBoundControlMode
The display mode for the specified data field.
Returns
The content of the template field.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.