共用方式為


TextBuffer.AddFromString 方法

這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
Sub AddFromString ( _
    String As String, _
    StartLine As Integer _
)
void AddFromString(
    string String,
    int StartLine
)
void AddFromString(
    [InAttribute] String^ String, 
    [InAttribute] int StartLine
)
abstract AddFromString : 
        String:string * 
        StartLine:int -> unit
function AddFromString(
    String : String, 
    StartLine : int
)

參數

  • String
    類型:String

    字串。

  • StartLine
    類型:Int32

    要從此處開始的行。

.NET Framework 安全性

請參閱

參考

TextBuffer 介面

EnvDTE 命名空間