Follow(Object, Object, Object, Object, Object) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays a cached document associated with the specified Hyperlink object, if it has already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document, and displays the document in the appropriate application.
public void Follow (ref object NewWindow, ref object AddHistory, ref object ExtraInfo, ref object Method, ref object HeaderInfo);
abstract member Follow : obj * obj * obj * obj * obj -> unit
Public Sub Follow (Optional ByRef NewWindow As Object, Optional ByRef AddHistory As Object, Optional ByRef ExtraInfo As Object, Optional ByRef Method As Object, Optional ByRef HeaderInfo As Object)
Optional Object. True to display the target document in a new window. The default value is False.
Optional Object. This argument is reserved for future use.
Optional Object. A string or byte array that specifies additional information for HTTP to use to resolve the hyperlink. For example, you can use
ExtraInfo to specify the coordinates of an image map, the contents of a form, or a FAT file name. The string is either posted or appended, depending on the value of
Method. Use the ExtraInfoRequired property to determine whether extra information is required.
Optional Object. Specifies the way additional information for HTTP is handled. Can be any MsoExtraInfoMethod constant.
Optional Object. A string that specifies header information for the HTTP request. The default value is an empty string. You can combine several header lines into a single string. The specified string is automatically converted into ANSI characters. Note that the
HeaderInfo argument may overwrite default HTTP header fields.
If the hyperlink uses the file protocol, this method opens the document instead of downloading it.