Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFMutableDictionaryMBS class.

CFMutableDictionaryMBS.Add(key as CFObjectMBS,value as CFObjectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Adds a key value combination to the dictionary.
Example
dim d as CFMutableDictionaryMBS

d=NewCFMutableDictionaryMBS
d.Add NewCFStringMBS("Key"),NewCFStringMBS("Value")
MsgBox d.XML.str

CFMutableDictionaryMBS.Remove(key as CFObjectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Removes all entries with the given key.

Maybe no key is found.

CFMutableDictionaryMBS.RemoveAll

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Removes all entries.

CFMutableDictionaryMBS.Replace(key as CFObjectMBS,value as CFObjectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Replaces all entries with the given key to contain the given value.

Maybe no key is found.

CFMutableDictionaryMBS.Set(key as CFObjectMBS,value as CFObjectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the entry with the given key to the given value.
Example
dim d as new CFMutableDictionaryMBS


d.Add NewCFStringMBS("Key"), NewCFStringMBS("Value")
d.Set NewCFStringMBS("Key"), NewCFStringMBS("Value2") // set changes value, add would not change it here

MsgBox d.XML.Str

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...