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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.