Contents Index Topic Contents | ||
Previous Topic: IHTMLStyleElement::get_disabled Next Topic: IHTMLStyleElement::get_onerror |
IHTMLStyleElement::get_media
HRESULT get_media( BSTR *p );Retrieves the string that indicates which media this style element applies to.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string that receives the media type.
See also put_media
IHTMLStyleElement::put_media
HRESULT put_media( BSTR v );Sets the inline script that indicates which media this style element applies to.
- Returns S_OK if successful, or an error value otherwise.
- v
- String value specifying the type of media for this style element.
See also get_media, IHTMLLinkElement
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.