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.174 -- Release Build+fd8be4627cf6a222f95edbdf5ca5819ec8d94f4d
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