Retrieves the string that indicates which media this STYLE element applies to.
Syntax
HRESULT get_media( BSTR *p );
Parameters
- p
- Address of a string 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 a pointer to the event handler function that indicates which media this STYLE element applies to.
Syntax
HRESULT put_media( BSTR v );
Parameters
- v
- String value that specifies the type of media for this STYLE 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