PropertyCollectionAddOrUpdate Method |
Adds a value with the specified key to the collection if not exists or updates an existing value.
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public void AddOrUpdate(
string key,
Object value
)
Public Sub AddOrUpdate (
key As String,
value As Object
)
public:
void AddOrUpdate(
String^ key,
Object^ value
)
member AddOrUpdate :
key : string *
value : Object -> unit
Parameters
- key
- Type: SystemString
The key for the object. - value
- Type: SystemObject
The object that will be stored.
Return Value
Type:
True, if successfully added; False otherwise.
See Also