ITextTemplatingEngine.PreprocessTemplate 方法
命名空間: Microsoft.VisualStudio.TextTemplating
組件: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (在 Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll 中)
語法
'宣告
Function PreprocessTemplate ( _
content As String, _
host As ITextTemplatingEngineHost, _
className As String, _
classNamespace As String, _
<OutAttribute> ByRef language As String, _
<OutAttribute> ByRef references As String() _
) As String
string PreprocessTemplate(
string content,
ITextTemplatingEngineHost host,
string className,
string classNamespace,
out string language,
out string[] references
)
String^ PreprocessTemplate(
String^ content,
ITextTemplatingEngineHost^ host,
String^ className,
String^ classNamespace,
[OutAttribute] String^% language,
[OutAttribute] array<String^>^% references
)
abstract PreprocessTemplate :
content:string *
host:ITextTemplatingEngineHost *
className:string *
classNamespace:string *
language:string byref *
references:string[] byref -> string
function PreprocessTemplate(
content : String,
host : ITextTemplatingEngineHost,
className : String,
classNamespace : String,
language : String,
references : String[]
) : String
參數
- content
型別:System.String
- className
型別:System.String
- classNamespace
型別:System.String
- language
型別:System.String%
- references
型別:array<System.String[]%
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。