Udostępnij za pośrednictwem


LoggingFields.AddRect Method

Definition

Overloads

AddRect(String, Rect)

Adds a Rect field with the specified field name.

AddRect(String, Rect, LoggingFieldFormat)

Adds a Rect field with the specified field name, and format.

AddRect(String, Rect, LoggingFieldFormat, Int32)

Adds a Rect field with the specified field name, format, and tags.

AddRect(String, Rect)

Adds a Rect field with the specified field name.

public:
 virtual void AddRect(Platform::String ^ name, Rect value) = AddRect;
/// [Windows.Foundation.Metadata.Overload("AddRect")]
void AddRect(winrt::hstring const& name, Rect const& value);
[Windows.Foundation.Metadata.Overload("AddRect")]
public void AddRect(string name, Rect value);
function addRect(name, value)
Public Sub AddRect (name As String, value As Rect)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Rect

The value for the event field.

Attributes

See also

Applies to

AddRect(String, Rect, LoggingFieldFormat)

Adds a Rect field with the specified field name, and format.

public:
 virtual void AddRect(Platform::String ^ name, Rect value, LoggingFieldFormat format) = AddRect;
/// [Windows.Foundation.Metadata.Overload("AddRectWithFormat")]
void AddRect(winrt::hstring const& name, Rect const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddRectWithFormat")]
public void AddRect(string name, Rect value, LoggingFieldFormat format);
function addRect(name, value, format)
Public Sub AddRect (name As String, value As Rect, format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Rect

The value for the event field.

format
LoggingFieldFormat

The format of the event field. Specifies an optional formatting hint that may be used by Event Tracing for Windows (ETW) tools.

Attributes

See also

Applies to

AddRect(String, Rect, LoggingFieldFormat, Int32)

Adds a Rect field with the specified field name, format, and tags.

public:
 virtual void AddRect(Platform::String ^ name, Rect value, LoggingFieldFormat format, int tags) = AddRect;
/// [Windows.Foundation.Metadata.Overload("AddRectWithFormatAndTags")]
void AddRect(winrt::hstring const& name, Rect const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddRectWithFormatAndTags")]
public void AddRect(string name, Rect value, LoggingFieldFormat format, int tags);
function addRect(name, value, format, tags)
Public Sub AddRect (name As String, value As Rect, format As LoggingFieldFormat, tags As Integer)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Rect

The value for the event field.

format
LoggingFieldFormat

The format of the event field. Specifies an optional formatting hint that may be used by Event Tracing for Windows (ETW) tools.

tags
Int32

int

The user-defined tag for the event field. Specifies up to twenty-eight bits of user-defined field processing metadata for use by a custom ETW processing tool. The top four bits are reserved and must be set to zero (0).

Attributes

See also

Applies to