Compartir a través de


BaseCodeGenerator.IVsSingleFileGenerator.Generate (Método)

Espacio de nombres:  Microsoft.VisualStudio.TextTemplating.VSHost
Ensamblado:  Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (en Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)

Sintaxis

'Declaración
Private Function Generate ( _
    wszInputFilePath As String, _
    bstrInputFileContents As String, _
    wszDefaultNamespace As String, _
    rgbOutputFileContents As IntPtr(), _
    <OutAttribute> ByRef pcbOutput As UInteger, _
    pGenerateProgress As IVsGeneratorProgress _
) As Integer Implements IVsSingleFileGenerator.Generate
int IVsSingleFileGenerator.Generate(
    string wszInputFilePath,
    string bstrInputFileContents,
    string wszDefaultNamespace,
    IntPtr[] rgbOutputFileContents,
    out uint pcbOutput,
    IVsGeneratorProgress pGenerateProgress
)
private:
virtual int Generate(
    String^ wszInputFilePath, 
    String^ bstrInputFileContents, 
    String^ wszDefaultNamespace, 
    array<IntPtr>^ rgbOutputFileContents, 
    [OutAttribute] unsigned int% pcbOutput, 
    IVsGeneratorProgress^ pGenerateProgress
) sealed = IVsSingleFileGenerator::Generate
private abstract Generate : 
        wszInputFilePath:string * 
        bstrInputFileContents:string * 
        wszDefaultNamespace:string * 
        rgbOutputFileContents:IntPtr[] * 
        pcbOutput:uint32 byref * 
        pGenerateProgress:IVsGeneratorProgress -> int 
private override Generate : 
        wszInputFilePath:string * 
        bstrInputFileContents:string * 
        wszDefaultNamespace:string * 
        rgbOutputFileContents:IntPtr[] * 
        pcbOutput:uint32 byref * 
        pGenerateProgress:IVsGeneratorProgress -> int 
JScript no admite implementaciones explícitas de interfaces.

Parámetros

Valor devuelto

Tipo: System.Int32

Implementaciones

IVsSingleFileGenerator.Generate(String, String, String, array<IntPtr[], UInt32%, IVsGeneratorProgress)

Seguridad de .NET Framework

Vea también

Referencia

BaseCodeGenerator Clase

Microsoft.VisualStudio.TextTemplating.VSHost (Espacio de nombres)