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

Definition

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

C#
protected void ConvertToTemplate(string description, System.ComponentModel.IComponent component, string templateName, string[] keys);

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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also