Share via


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

See Also

Reference

IDirectiveProcessor Interface

Microsoft.VisualStudio.TextTemplating Namespace