WizardDesigner.ResetTemplate(String, IComponent, String) 方法
定义
将指定模板重置为其默认值。Resets the specified template to its default value.
protected:
void ResetTemplate(System::String ^ description, System::ComponentModel::IComponent ^ component, System::String ^ templateName);
protected void ResetTemplate (string description, System.ComponentModel.IComponent component, string templateName);
member this.ResetTemplate : string * System.ComponentModel.IComponent * string -> unit
Protected Sub ResetTemplate (description As String, component As IComponent, templateName As String)
参数
- description
- String
允许事务完成的效果的说明,由设计宿主使用,以便为用户提供取消操作的机会。A description of the effect of allowing the transaction to complete, which is used by the design host to give the user an opportunity to cancel the operation.
- component
- IComponent
与此设计器关联的 Wizard 控件。The Wizard control associated with this designer.
- templateName
- String
要重置的模板的名称。The name of the template to reset.