Metodo BaseCodeGenerator.IVsSingleFileGenerator.Generate
Spazio dei nomi: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)
Sintassi
'Dichiarazione
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 non supporta le implementazioni esplicite dell'interfaccia.
Parametri
- wszInputFilePath
Tipo: System.String
- bstrInputFileContents
Tipo: System.String
- wszDefaultNamespace
Tipo: System.String
- rgbOutputFileContents
Tipo: array<System.IntPtr[]
- pcbOutput
Tipo: System.UInt32%
- pGenerateProgress
Tipo: Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress
Valore restituito
Tipo: System.Int32
Implementa
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
Spazio dei nomi Microsoft.VisualStudio.TextTemplating.VSHost