共用方式為


TextBuffer.AddFromFile(String, Int32) Method

Definition

Microsoft Internal Use Only.

This API supports the product infrastructure and is not intended to be used directly from your code.

void AddFromFile(std::wstring const & FileName, int StartLine = 1);
[System.Runtime.InteropServices.DispId(2)]
public void AddFromFile (string FileName, int StartLine = 1);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member AddFromFile : string * int -> unit
Public Sub AddFromFile (FileName As String, Optional StartLine As Integer = 1)

Parameters

FileName
String

The name of the file.

StartLine
Int32

The line at which to start.

Attributes

Applies to