Bewerken

Delen via


PresentationTraceSources.GetTraceLevel(Object) Method

Definition

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