Método BaseCodeGenerator.Generate
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (em Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll)
Sintaxe
'Declaração
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
)
Parâmetros
- inputFilePath
Tipo: System.String
- inputFileContents
Tipo: System.String
- defaultNamespace
Tipo: System.String
- outputFileContents
Tipo: System.IntPtr%
- output
Tipo: System.Int32%
- generateProgress
Tipo: Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.