次の方法で共有


ElementLocation.Create(String, Int32, Int32) Method

Definition

Constructor for the case where we have most or all information. Numerical values must be 1-based, non-negative; 0 indicates unknown File may be null, indicating the file was not loaded from disk.

public:
 static Microsoft::Build::Construction::ElementLocation ^ Create(System::String ^ file, int line, int column);
public static Microsoft.Build.Construction.ElementLocation Create(string file, int line, int column);
static member Create : string * int * int -> Microsoft.Build.Construction.ElementLocation
Public Shared Function Create (file As String, line As Integer, column As Integer) As ElementLocation

Parameters

file
String
line
Int32
column
Int32

Returns

Remarks

In AG there are 600 locations that have a file but zero line and column. In theory yet another derived class could be made for these to save 4 bytes each.

Applies to