(0) exportieren Drucken
Alle erweitern
AcceptAllRevisions Method
AcceptAllRevisionsShown Method
Activate Method
AddDocumentWorkspaceHeader Method
AddToFavorites Method
ApplyTheme Method
AutoFormat Method
AutoSummarize Method
CanCheckin Method
CheckConsistency Method
CheckGrammar Method
CheckIn Method
CheckNewSmartTags Method
CheckSpelling Method
Close Method
ClosePrintPreview Method
Compare Method
Compare2000 Method
Compare2002 Method
ComputeStatistics Method
ConvertNumbersToText Method
ConvertVietDoc Method
CopyStylesFromTemplate Method
CountNumberedItems Method
CreateLetterContent Method
DataForm Method
DeleteAllComments Method
DeleteAllCommentsShown Method
DeleteAllEditableRanges Method
DeleteAllInkAnnotations Method
DetectLanguage Method
EditionOptions Method
EndReview Method
FitToPages Method
FollowHyperlink Method
ForwardMailer Method
GetCrossReferenceItems Method
GetLetterContent Method
GoTo Method
MakeCompatibilityDefault Method
ManualHyphenation Method
Merge Method
Merge2000 Method
Post Method
PresentIt Method
PrintOut Method
PrintOut2000 Method
PrintOutOld Method
PrintPreview Method
Protect Method
Protect2002 Method
Range Method
RecheckSmartTags Method
Redo Method
RejectAllRevisions Method
RejectAllRevisionsShown Method
Reload Method
ReloadAs Method
RemoveDocumentWorkspaceHeader Method
RemoveLockedStyles Method
RemoveNumbers Method
RemoveSmartTags Method
RemoveTheme Method
Repaginate Method
Reply Method
ReplyAll Method
ReplyWithChanges Method
ResetFormFields Method
Route Method
RunAutoMacro Method
RunLetterWizard Method
Save Method
SaveAs Method
SaveAs2000 Method
sblt Method
Select Method
SelectAllEditableRanges Method
SelectNodes Method
SelectSingleNode Method
SendFax Method
SendFaxOverInternet Method
SendForReview Method
SendMail Method
SendMailer Method
SetDefaultTableStyle Method
SetLetterContent Method
SetPasswordEncryptionOptions Method
ToggleFormsDesign Method
TransformDocument Method
Undo Method
UndoClear Method
Unprotect Method
UpdateStyles Method
UpdateSummaryProperties Method
ViewCode Method
ViewPropertyBrowser Method
WebPagePreview Method
Erweitern Minimieren

_Document.FollowHyperlink Method

Displays a cached document if it's already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document, and displays the document in the appropriate application.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim Address As Object
Dim SubAddress As Object
Dim NewWindow As Object
Dim AddHistory As Object
Dim ExtraInfo As Object
Dim Method As Object
Dim HeaderInfo As Object
Dim _Document1 As _Document
_Document1.FollowHyperlink(Address, SubAddress, NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo)

void FollowHyperlink(
	[In, Optional] ref object Address, 
	[In, Optional] ref object SubAddress, 
	[In, Optional] ref object NewWindow, 
	[In, Optional] ref object AddHistory, 
	[In, Optional] ref object ExtraInfo, 
	[In, Optional] ref object Method, 
	[In, Optional] ref object HeaderInfo
);
public void FollowHyperlink(
	/*in*/System.Object Address, 
	/*in*/System.Object SubAddress, 
	/*in*/System.Object NewWindow, 
	/*in*/System.Object AddHistory, 
	/*in*/System.Object ExtraInfo, 
	/*in*/System.Object Method, 
	/*in*/System.Object HeaderInfo
);
function FollowHyperlink(
	 Address : Object, 
	 SubAddress : Object, 
	 NewWindow : Object, 
	 AddHistory : Object, 
	 ExtraInfo : Object, 
	 Method : Object, 
	 HeaderInfo : Object
);

Parameters

Address

Required String. The address of the target document.

SubAddress

Optional Object. The location within the target document. The default value is an empty string.

NewWindow

Optional Object. True to display the target location in a new window. The default value is False.

AddHistory

Optional Object. True to add the link to the current day's history folder.

ExtraInfo

Optional Object. A string or a 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.

Method

Optional Object. Specifies the way additional information for HTTP is handled. Microsoft.Office.Core.MsoExtraInfoMethod.

HeaderInfo

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Microsoft führt eine Onlineumfrage durch, um Ihre Meinung zur MSDN-Website zu erfahren. Wenn Sie sich zur Teilnahme entscheiden, wird Ihnen die Onlineumfrage angezeigt, sobald Sie die MSDN-Website verlassen.

Möchten Sie an der Umfrage teilnehmen?
Anzeigen:
© 2014 Microsoft