Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.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
)
Parameters
- inputFilePath
Type: System.String
- inputFileContents
Type: System.String
- defaultNamespace
Type: System.String
- outputFileContents
Type: System.IntPtr%
- output
Type: System.Int32%
- generateProgress
Type: Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.