IHTMLEmbedElement::get_nameIHTMLEmbedElement::get_name*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLEmbedElement::put_name
*Next Topic: IHTMLEmbedElement::put_width

IHTMLEmbedElement::get_name


HRESULT get_name(
    BSTR *p
);

Retrieves the name of the frame so it can be targeted from links in other documents.

p
Address of a string variable that receives the window or frame name, or one of these values:
window_name String that specifies a frame.
_blank Loads the link into a new, unnamed window.
_parent Loads the link over the parent. If the frame has no parent, this refers to _self.
_self Replaces the page with the specified link.
_top Loads the link at the top-most level.

The name property on the window comes from the FRAME definition. There is no other way to persist a window name in HTML.

See also put_name

Up Top of Page


IHTMLEmbedElement::put_name


HRESULT put_name(
    BSTR v
);

Sets the name of the frame so it can be targeted from links in other documents.

v
String specifying the name. It can be the name of a window or frame, or one of the following values:
window_name String that specifies a frame.
_blank Loads the link into a new, unnamed window.
_parent Loads the link over the parent. If the frame has no parent, this refers to _self.
_self Replaces the page with the specified link.
_top Loads the link at the top-most level.

The name property on the window comes from the FRAME definition. There is no other way to persist a window name in HTML.

See also get_name


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