ReSharper Web Help

ReSharper | Templates Explorer | File Templates | VB.NET

VB.net

ReSharper provides the following predefined file templates for commonly used VB.NET declarations: classes, enumerations, interfaces, and structures. See Creating Files from Templates for details on using file templates.

Template name Description
Class

Go to top

Purpose
Creates a new file in the current project containing an empty class.

Public Class $CLASS$
    $END$
End Class

Parameters

  • CLASS - name of a new class that a user enters in the Create: Class dialog box.
  • END - body of a new class (left empty when generating the class).
The caret is put in the position that allows you to immediately proceed with coding the class body.

Enum

Go to top

Purpose
Creates a new file in the current project containing an empty enumeration.

Public Enum $ENUM$
    $END$
End Enum

Parameters

  • ENUM - name of a new enumeration that a user enters in the Create: Enum dialog box.
  • END - body of a new enumeration (left empty when generating the enumeration).
The caret is put in the position that allows you to immediately proceed with coding the enumeration body.

Interface

Go to top

Purpose
Creates a new file in the current project containing an empty interface.

Public Interface $INTERFACE$
    $END$
End Interface

Parameters

  • INTERFACE - name of a new interface that a user enters in the Create: Interface dialog box.
  • END - body of a new interface (left empty when generating the interface).
The caret is put in the position that allows you to immediately proceed with coding the interface body.

Module

Go to top

Purpose
Creates a new file in the current project containing an empty module.

Public Module $MODULE$
  $END$
End Module

Parameters

  • MODULE - name of a new module that a user enters in the Create: Structure dialog box.
  • END - body of a new module (left empty when generating the module).
The caret is put in the position that allows you to immediately proceed with coding the interface body.

Structure

Go to top

Purpose
Creates a new file in the current project containing an empty structure.

Public Structure $STRUCTURE$
    $END$
End Structure

Parameters

  • STRUCTURE - name of a new structure that a user enters in the Create: Structure dialog box.
  • END - body of a new structure (left empty when generating the structure).
The caret is put in the position that allows you to immediately proceed with coding the structure body.