BaseCodeGenerator.Generate - метод
Пространство имен: Microsoft.VisualStudio.TextTemplating.VSHost
Сборка: Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (в Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)
Синтаксис
'Декларация
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
)
Параметры
- inputFilePath
Тип: System.String
- inputFileContents
Тип: System.String
- defaultNamespace
Тип: System.String
- outputFileContents
Тип: System.IntPtr%
- output
Тип: System.Int32%
- generateProgress
Тип: Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.
См. также
Ссылки
Microsoft.VisualStudio.TextTemplating.VSHost - пространство имен