|
SettingsCollectionTryAdd Method
|
Adds an element with the specified key and value if an element is not present with the specified key.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax function TryAdd(key, value);
View SourceParameters
- key String
- The key of the element to add.
- value String
- The value of the element to add.
Return Value
Booleantrue if an element is added; otherwise
false.
See Also