Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the value of the className property of the given object. The property is typically used to associate a particular style rule in a style sheet with the object.
Syntax
HRESULT get_className( BSTR *p );
Parameters
- p
- Address of a string variable that receives the value of the property, which can be any valid string.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
By default, the value is equal to the string assigned to the className property of the given object, or is an empty string if the property is not explicitly assigned.
See Also
put_className
Sets the value of the className property of the object. The property is typically used to associate a particular style rule in a style sheet with the object.
Syntax
HRESULT put_className( BSTR v );
Parameters
- v
- String specifying the value of the attribute. Can be any valid string.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
By default, the property is equal to the string assigned to the className property of the given object, or is an empty string if the attribute is not explicitly assigned.
See Also
get_className, IHTMLElement
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.