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.172 -- Release Build+09837169eddb86bb3876e0f07771cb1fa9cf8d8d
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