Here is the class template.
'The class name would be replaced with what was specified when user added the new item Public Class TagImport Inherits Template Public Sub New(ByVal fileName As String) MyBase.New(fileName) End Sub Public Overrides Sub IsValid() Select Case True Case RowCount > 0 Case ColCount > 8 'Programmer specified parameter that needs to change End Select End Sub End Class
To create the template I selected File -> Export Template... and then followed the wizard selecting the class I wanted to create as an item template. Then to open the template I selected Project -> Add New Item and then selected the template I just created. Loads the template but doesn't do anything with variables.
This post has been edited by doothedew: 11 April 2013 - 03:30 PM