Edit

Share via


WizardDesigner.ConvertToTemplate(String, IComponent, String, String[]) Method

Definition

Converts a selection of controls to a template in the associated control.

protected:
 void ConvertToTemplate(System::String ^ description, System::ComponentModel::IComponent ^ component, System::String ^ templateName, cli::array <System::String ^> ^ keys);
protected void ConvertToTemplate (string description, System.ComponentModel.IComponent component, string templateName, string[] keys);
member this.ConvertToTemplate : string * System.ComponentModel.IComponent * string * string[] -> unit
Protected Sub ConvertToTemplate (description As String, component As IComponent, templateName As String, keys As String())

Parameters

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

The wizard control associated with this designer.

templateName
String

The name of the template to convert to.

keys
String[]

An array of IDs for the controls that are to be included in the template.

Applies to

See also