PresentationTraceSources.GetTraceLevel(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 value of the TraceLevel attached property for a specified element.
public:
static System::Diagnostics::PresentationTraceLevel GetTraceLevel(System::Object ^ element);
public static System.Diagnostics.PresentationTraceLevel GetTraceLevel (object element);
static member GetTraceLevel : obj -> System.Diagnostics.PresentationTraceLevel
Public Shared Function GetTraceLevel (element As Object) As PresentationTraceLevel
Parameters
- element
- Object
The element from which the property value is read.
Returns
The TraceLevel property value for the element.
Remarks
GetTraceLevel is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.