|Creates a new VarDictionary
collection. Equivalent to a call to the CreateObject function (or new
ActiveXObject in JScript) but also copies the behavior properties to
new object. It is more convenient to use this method instead of
[id(17)] HRESULT CreateNew([out,retval] IDispatch** ppNew);
object - Previously created VarDictionary object
Set newObject = vardict.CreateNew
This method will create new VarDictionary collection and configure it to
behave as the collection being called. Only the behavior
properties are copied.
This should be more convenient even if the behavior is not important
- it is shorter than a call to the CreateObject.
Applies to: VarDictionary