Receives the string that indicates which media this style applies to.
Syntax
HRESULT get_media( BSTR *p );
Parameters
- p
- Address of a string variable that receives the media type.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the string that indicates which media this style element applies to. For details, see the IHTMLLinkElement::put_media method for values.
Syntax
HRESULT put_media( BSTR v );
Parameters
- v
- String that specifies the media type for the IHTMLStyleSheet element.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0