共用方式為


SnapshotLineTransform 委派

命名空間:  Microsoft.VisualStudio.Text.Differencing
組件:  Microsoft.VisualStudio.Text.Logic (在 Microsoft.VisualStudio.Text.Logic.dll 中)

語法

'宣告
Public Delegate Function SnapshotLineTransform ( _
    line As ITextSnapshotLine, _
    currentText As String _
) As String
public delegate string SnapshotLineTransform(
    ITextSnapshotLine line,
    string currentText
)
public delegate String^ SnapshotLineTransform(
    ITextSnapshotLine^ line, 
    String^ currentText
)
type SnapshotLineTransform = 
    delegate of  
        line:ITextSnapshotLine * 
        currentText:string -> string
JScript 不支援委派。

參數

  • currentText
    類型:String

傳回值

類型:String

請參閱

參考

Microsoft.VisualStudio.Text.Differencing 命名空間