Sets/gets VARIANT currently used as a
"missing" value. This is the value returned by the Item default property when
the passed key/index is not found in the collection.Syntax:
object.Missing = variable
variable = object.Missing
IDL definition:
[propget, id(7), helpstring("gets Missing item")] HRESULT Missing([out, retval] VARIANT *pVal);
[propput, id(7), helpstring("sets Missing item")] HRESULT Missing([in] VARIANT varVal);
Parameters:
object - Previously created VarDictionary object
variable - variable that will receive (or will be assigned) the
"missing" value.
Examples:
var vardict = Server.CreateObject("newobjects.utilctls.VarDictionary");
vardict.Missing = "(error: item not found)";
Dim vardict
Set vardict = Server.CreateObject("newobjects.utilctls.VarDictionary")
vardict.Missing = "(error: item not found)"
Remarks:
If not specified VT_NULL is used.
Applies to: VarDictionary
See also: Item property
|