nameProp property

Retrieves the file name specified in the IHTMLAnchorElement::href or IHTMLEmbedElement2::src property of the object.

Syntax

HRESULT value = object.get_nameProp(* p);

Property values

Type: BSTR

the name of a file specified by the object, not including the path or protocol.