IHTMLElement::get_classNameIHTMLElement::get_className*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLElement::put_className
*Next Topic: IHTMLElement::put_id

IHTMLElement::get_className


HRESULT get_className(
    BSTR *p
);

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.

p
Address of a string variable that receives the value of the property, which can be any valid string.

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

Up Top of Page


IHTMLElement::put_className


HRESULT put_className(
    BSTR v
);

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.

v
String specifying the value of the attribute. Can be any valid string.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.