VisualDiagnostics.GetSourceInfo(Object) 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.
Gets the previously registered source information for a specified object.
public:
static Microsoft::Maui::SourceInfo ^ GetSourceInfo(System::Object ^ obj);
public static Microsoft.Maui.SourceInfo? GetSourceInfo(object obj);
static member GetSourceInfo : obj -> Microsoft.Maui.SourceInfo
Public Shared Function GetSourceInfo (obj As Object) As SourceInfo
Parameters
- obj
- Object
The object whose source information is requested.
Returns
A SourceInfo instance containing the URI, line number, and position, or null if no information is available.