Copies any matching properties to another CodeTemplate instance.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public void CopyPropertiesTo( CodeTemplate template, ICollection<string> ignorePropertyNames ) |
Visual Basic |
---|
Public Sub CopyPropertiesTo ( template As CodeTemplate, ignorePropertyNames As ICollection(Of String) ) |
Parameters
- template
- Type: CodeSmith.Engine..::..CodeTemplate
Template.
- ignorePropertyNames
- Type: System.Collections.Generic..::..ICollection<(Of <(<'String>)>)>
Ignores the specified list of property names when copying properties to the template.