IDirectiveProcessor.GetPreInitializationCodeForProcessingRun Method
Gets the code to contribute to the body of the initialize method of the generated template processing class because of the most recent run.
This code will run before the base class' Initialize method.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.Interfaces.11.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll)
Syntax
'Declaration
Function GetPreInitializationCodeForProcessingRun As String
string GetPreInitializationCodeForProcessingRun()
String^ GetPreInitializationCodeForProcessingRun()
abstract GetPreInitializationCodeForProcessingRun : unit -> string
function GetPreInitializationCodeForProcessingRun() : String
Return Value
Type: String
.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.