PresentationTraceSources.SetTraceLevel(Object, PresentationTraceLevel) Metodo

Definizione

Imposta il valore della proprietà associata TraceLevelProperty su un elemento specificato.Sets the value of the TraceLevelProperty 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)

Parametri

element
Object

Elemento in cui viene scritta la proprietà associata.The element to which the attached property is written.

traceLevel
PresentationTraceLevel

Valore PresentationTraceLevel necessario.The needed PresentationTraceLevel value.

Commenti

SetTraceLevelè stato introdotto nella versione .NET Framework 3,5.SetTraceLevel is introduced in the .NET Framework version 3.5. Per altre informazioni, vedere Versioni e dipendenze.For more information, see Versions and Dependencies.

Si applica a

Vedi anche