PresentationTraceSources.SetTraceLevel(Object, PresentationTraceLevel) 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.
Sets the value of the TraceLevel attached property to a specified element.
public:
static void SetTraceLevel(System::Object ^ element, System::Diagnostics::PresentationTraceLevel traceLevel);
public static void SetTraceLevel (object element, System.Diagnostics.PresentationTraceLevel traceLevel);
static member SetTraceLevel : obj * System.Diagnostics.PresentationTraceLevel -> unit
Public Shared Sub SetTraceLevel (element As Object, traceLevel As PresentationTraceLevel)
Parameters
- element
- Object
The element to which the attached property is written.
- traceLevel
- PresentationTraceLevel
The needed PresentationTraceLevel value.
Remarks
SetTraceLevel is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.