WizardDesigner.ConvertToTemplate(String, IComponent, String, String[]) 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.
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.