Click or drag to resize

SettingsCollectionTryAdd Method

Adds an element with the specified key and value if an element is not present with the specified key.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
Syntax
public bool TryAdd(
	string key,
	string value
)
View Source

Parameters

key  String
The key of the element to add.
value  String
The value of the element to add.

Return Value

Boolean
true if an element is added; otherwise false.
See Also