We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IDirectiveProcessor.GetImportsForProcessingRun Method

Visual Studio 2012

Gets any namespaces to import because of the most recent run.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.Interfaces.11.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll)

string[] GetImportsForProcessingRun()

Return Value

Type: String[]

Show: