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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.