Gemstone Diagnostics Library
Show/Hide TOC

# LogStackMessagesUnion(String, String) Method

returns the union of this instance and the specified key/value. If the key already exists. The new one replaces the existing one.

## Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.155 -- Release Build+413cde858755f0bb404d155c12c70bc8c002b9e9
C#
View Source Request Example

    public LogStackMessages Union(
    	string key,
    	string value
    )

VB
View Source Request Example

    Public Function Union (
    	key As String,
    	value As String
    ) As LogStackMessages

C++
View Source Request Example

    public:
    LogStackMessages^ Union(
    	String^ key,
    	String^ value
    )

JavaScript
View Source Request Example

    function Union(key, value);

#### Parameters

key String
  a key
value String
  a value

#### Return Value

LogStackMessages

[Missing <returns> documentation for "M:Gemstone.Diagnostics.LogStackMessages.Union(System.String,System.String)"]

## Exceptions

ArgumentNullException | if Key or Value are null or whitespace.

## See Also

#### Reference

LogStackMessages Class
Union Overload
Gemstone.Diagnostics Namespace