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.173 -- Release Build+13a17d52c6d57dd487f5387b2010a9ccb7973f84
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