ISingleFileGenerator.RunGenerator Method

Runs a generator on a project item.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Sub RunGenerator ( _
    document As String _
)
'使用
Dim instance As ISingleFileGenerator
Dim document As String

instance.RunGenerator(document)
void RunGenerator(
    string document
)
void RunGenerator(
    String^ document
)
function RunGenerator(
    document : String
)

Parameters

  • document
    Type: System.String

    The document on which to run the generator.

Remarks

This method runs the generator on the specified file, but only if the file is dirty in the running document table. Otherwise there is no need to rerun the generator because if the original document is not dirty then the generated output should be already up to date.

Permissions

See Also

Reference

ISingleFileGenerator Interface

ISingleFileGenerator Members

Microsoft.VisualStudio.Package Namespace