The AddHTTPEquiv method first creates an instance of an HTTPEquiv class and sets the new object's Name and Value properties to the strings passed as arguments to the method. It then adds the associated IHTTPEquiv dispinterface to the HTTPEquivs collection, and returns it.
VBScript Syntax
IObject.AddHTTPEquiv name, value
Parameters
name (VT_BSTR)
A string specifying the value for the element's NAME attribute.
value (VT_BSTR)
A string specifying the value for the element's VALUE attribute.
Return Value
The IHTTPEquiv dispinterface added to the HTTPEquivs collection (VT_DISPATCH).
Example
VBScript and Windows Scripting Host
Set oHttpEquiv = CreateObject("Push.HTTPEquiv")
oHttpEquiv.Name = "This"
oHttpEquiv.Value = "That"
Set oChannel = CreateObject("Push.Channel")
Channel.Httpequivs.Add oHttpEquiv
See Also