Share via


BaseCodeGenerator.Generate Method

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)

Syntax

'Declaration
Public Sub Generate ( _
    inputFilePath As String, _
    inputFileContents As String, _
    defaultNamespace As String, _
    <OutAttribute> ByRef outputFileContents As IntPtr, _
    <OutAttribute> ByRef output As Integer, _
    generateProgress As IVsGeneratorProgress _
)
public void Generate(
    string inputFilePath,
    string inputFileContents,
    string defaultNamespace,
    out IntPtr outputFileContents,
    out int output,
    IVsGeneratorProgress generateProgress
)
public:
void Generate(
    String^ inputFilePath, 
    String^ inputFileContents, 
    String^ defaultNamespace, 
    [OutAttribute] IntPtr% outputFileContents, 
    [OutAttribute] int% output, 
    IVsGeneratorProgress^ generateProgress
)
member Generate : 
        inputFilePath:string * 
        inputFileContents:string * 
        defaultNamespace:string * 
        outputFileContents:IntPtr byref * 
        output:int byref * 
        generateProgress:IVsGeneratorProgress -> unit
public function Generate(
    inputFilePath : String, 
    inputFileContents : String, 
    defaultNamespace : String, 
    outputFileContents : IntPtr, 
    output : int, 
    generateProgress : IVsGeneratorProgress
)

Parameters

  • inputFilePath
    Type: String
  • inputFileContents
    Type: String
  • defaultNamespace
    Type: String
  • outputFileContents
    Type: IntPtr%
  • output
    Type: Int32%

.NET Framework Security

See Also

Reference

BaseCodeGenerator Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace