Share via


ITextTemplating.PreprocessTemplate Method

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

Syntax

'Declaration
Function PreprocessTemplate ( _
    inputFile As String, _
    content As String, _
    callback As ITextTemplatingCallback, _
    className As String, _
    classNamespace As String, _
    <OutAttribute> ByRef references As String() _
) As String
string PreprocessTemplate(
    string inputFile,
    string content,
    ITextTemplatingCallback callback,
    string className,
    string classNamespace,
    out string[] references
)
String^ PreprocessTemplate(
    String^ inputFile, 
    String^ content, 
    ITextTemplatingCallback^ callback, 
    String^ className, 
    String^ classNamespace, 
    [OutAttribute] array<String^>^% references
)
abstract PreprocessTemplate : 
        inputFile:string * 
        content:string * 
        callback:ITextTemplatingCallback * 
        className:string * 
        classNamespace:string * 
        references:string[] byref -> string
function PreprocessTemplate(
    inputFile : String, 
    content : String, 
    callback : ITextTemplatingCallback, 
    className : String, 
    classNamespace : String, 
    references : String[]
) : String

Parameters

  • inputFile
    Type: String
  • content
    Type: String
  • className
    Type: String
  • classNamespace
    Type: String
  • references
    Type: array<String[]%

Return Value

Type: String

.NET Framework Security

See Also

Reference

ITextTemplating Interface

Microsoft.VisualStudio.TextTemplating.VSHost Namespace