Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[IHlink::SetStringReference may be altered or unavailable in subsequent versions of the operating system or product.]
Note The Microsoft ActiveX Hyperlink API is deprecated in Windows Internet Explorer 8 and later, and ActiveX technology as a whole is unsupported in the Microsoft Edge browser in favor of standards-based web APIs. For more information, see Saying goodbye to ActiveX, VBScript, attachEvent... and Get ready for plug-in free browsing.
Sets the name portion and the location portion of the target.
Syntax
HRESULT retVal = object.SetStringReference(grfHLSETF, pwzTarget, pwzLocation);
Parameters
grfHLSETF [in]
Type: DWORDAn HLINKSETF-defined value that indicates whether to set the hyperlink target, the location within the target, or both.
pwzTarget [in]
Type: LPCWSTRA string that contains the target name for the hyperlink.
pwzLocation [in]
Type: LPCWSTRThe address of a string that indicates the location in the hyperlink target to which the browser navigated. This must not be NULL.