DataControlFieldDesigner.GetTemplateField 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 a TemplateField object for the specified data field.
protected:
System::Web::UI::WebControls::TemplateField ^ GetTemplateField(System::Web::UI::WebControls::DataControlField ^ dataControlField, System::Web::UI::WebControls::DataBoundControl ^ dataBoundControl);
protected System.Web.UI.WebControls.TemplateField GetTemplateField (System.Web.UI.WebControls.DataControlField dataControlField, System.Web.UI.WebControls.DataBoundControl dataBoundControl);
member this.GetTemplateField : System.Web.UI.WebControls.DataControlField * System.Web.UI.WebControls.DataBoundControl -> System.Web.UI.WebControls.TemplateField
Protected Function GetTemplateField (dataControlField As DataControlField, dataBoundControl As DataBoundControl) As TemplateField
Parameters
- dataControlField
- DataControlField
The data field.
- dataBoundControl
- DataBoundControl
The data-bound control that contains the data field.
Returns
The new template field.
Remarks
The GetTemplateField method is a helper method that can be used by the CreateTemplateField method to create a new TemplateField object and initialize its properties using the specified data field properties.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.