Freigeben über


BaseCodeGenerator.Generate-Methode

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.10.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
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

BaseCodeGenerator Klasse

Microsoft.VisualStudio.TextTemplating.VSHost-Namespace