ElementLocation.Create(String, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.