IHTMLWindow2::name Property
Sets or retrieves a value that indicates the window name.
Syntax
HRESULT IHTMLWindow2::get_name(BSTR *p); HRESULT IHTMLWindow2::put_name(BSTR v);
Parameters
- p
Pointer to a variable of type BSTR that receives an arbitrary name used to identify the object.- v
BSTR that specifies an arbitrary name used to identify the object.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
To access a window's IHTMLWindow2::name property, use the window keyword.