IHlink::SetStringReferenceIHlink::SetStringReference*
*Contents  *Index  *Topic Contents
*Previous Topic: IHlink::SetMonikerReference
*Next Topic: IHlink::SetTargetFrameName

IHlink::SetStringReference

HRESULT SetStringReference(
    DWORD grfHLSETF,       //Specifies whether to set the hyperlink target, the location within the target, 
                           // or both.
    LPCWSTR pwzTarget,     //Target name for the hyperlink
    LPCWSTR pwzLocation    //Location within the hyperlink target of new hyperlink
   );

Sets the target string or location string values for a hyperlink object.

grfHLSETF
[in] Used to indicate whether to set the hyperlink target, the location within the target, or both.
pwzTarget
[in, unique] The string target name for the hyperlink.
pwzLocation
[in, unique] A string identifying the location within the hyperlink target that was navigated to. Must not be NULL.

See also HLINKSETF


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.