TextBuffer.AddFromFile Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub AddFromFile ( _
FileName As String, _
StartLine As Integer _
)
void AddFromFile(
string FileName,
int StartLine
)
void AddFromFile(
[InAttribute] String^ FileName,
[InAttribute] int StartLine
)
abstract AddFromFile :
FileName:string *
StartLine:int -> unit
function AddFromFile(
FileName : String,
StartLine : int
)
Parameters
FileName
Type: System.StringThe name of the file.
StartLine
Type: System.Int32The line at which to start.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.