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.178 -- Release Build+15869ad4356b3f4630cd838d45020d95891bffc5
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