Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves an external file that contains the source code.
Syntax
HRESULT get_src( BSTR *p );
Parameters
- p
- Address of a variable that receives the URL of the external file.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
A script can contain an external reference as well as code within the block. The code specified by src precedes the code contained within the document.
See Also
put_src
Specifies an external file that contains the source code.
Syntax
HRESULT put_src( BSTR v );
Parameters
- v
- String specifying the URL of the external file.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
A script can contain an external reference as well as code within the block. The code specified by src precedes the code contained within the document.
See Also
get_src, IHTMLScriptElement
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.