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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.