Share via


VSWebProjectItem2.RunCustomTool Method

Runs the single-file generator that is associated with a file in order to dynamically generate a class.

Namespace:  VsWebSite90
Assembly:  VsWebSite.Interop90 (in VsWebSite.Interop90.dll)

Syntax

'Declaration
Sub RunCustomTool
'Usage
Dim instance As VSWebProjectItem2

instance.RunCustomTool()
void RunCustomTool()
void RunCustomTool()
function RunCustomTool()

Remarks

This method will run the single-file generator that has been configured for this project item (file).

Note

The custom tool that is associated with a project item is not saved when a Web site is closed. Therefore, it must be re-associated every time.

.NET Framework Security

See Also

Reference

VSWebProjectItem2 Interface

VSWebProjectItem2 Members

VsWebSite90 Namespace

CustomTool