Control.SetTraceData Method

Definition

Sets trace data for design-time tracing of rendering data.

Overloads

SetTraceData(Object, Object)

Sets trace data for design-time tracing of rendering data, using the trace data key and the trace data value.

SetTraceData(Object, Object, Object)

Sets trace data for design-time tracing of rendering data, using the traced object, the trace data key, and the trace data value.

SetTraceData(Object, Object)

Sets trace data for design-time tracing of rendering data, using the trace data key and the trace data value.

C#
public void SetTraceData(object traceDataKey, object traceDataValue);

Parameters

traceDataKey
Object

The trace data key.

traceDataValue
Object

The trace data value.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SetTraceData(Object, Object, Object)

Sets trace data for design-time tracing of rendering data, using the traced object, the trace data key, and the trace data value.

C#
public void SetTraceData(object tracedObject, object traceDataKey, object traceDataValue);

Parameters

tracedObject
Object

The traced object.

traceDataKey
Object

The trace data key.

traceDataValue
Object

The trace data value.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1