VisualDiagnostics.GetXamlSourceInfo(Object) Method
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.
Returns an instance of XamlSourceInfo that contains information about the XAML source document for the specified object.
public:
static System::Windows::Diagnostics::XamlSourceInfo ^ GetXamlSourceInfo(System::Object ^ obj);
public static System.Windows.Diagnostics.XamlSourceInfo GetXamlSourceInfo (object obj);
static member GetXamlSourceInfo : obj -> System.Windows.Diagnostics.XamlSourceInfo
Public Shared Function GetXamlSourceInfo (obj As Object) As XamlSourceInfo
- obj
- Object
The object for which to find the XAML source.
Information about the XAML source document if available; otherwise, null
.
Source info is available only for Debug assemblies and only if the ENABLE_XAML_DIAGNOSTICS_SOURCE_INFO environment variable is set to anything other than 0 or false
.
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Продукт | Версии |
---|---|
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Отзыв о .NET
.NET — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: