ElementLocation.LocationString Property


The location in a form suitable for replacement into a message. Example: "c:\foo\bar.csproj (12,34)" Calling this creates and formats a new string. PREFER TO PUT THE LOCATION INFORMATION AT THE START OF THE MESSAGE INSTEAD. Only in rare cases should the location go within the message itself.

 property System::String ^ LocationString { System::String ^ get(); };
public string LocationString { get; }
member this.LocationString : string
Public ReadOnly Property LocationString As String

Property Value


Returns String.

Applies to