ITextTemplating.PreprocessTemplate 方法
命名空間: Microsoft.VisualStudio.TextTemplating.VSHost
組件: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (在 Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll 中)
語法
'宣告
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
參數
- inputFile
型別:System.String
- content
型別:System.String
- className
型別:System.String
- classNamespace
型別:System.String
- references
型別:array<System.String[]%
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。