共用方式為


prevValue property

Gets the previous value of the attribute or text node.

 

Syntax

HRESULT value = object.get_prevValue(* p);

Property values

Type: BSTR

The previous value.

Standards information

Remarks

The IDOMMutationEvent::prevValue property indicates the previous value of an attribute node during a DOMAttrModified event, or the previous text in a character node during a DOMCharacterDataModified event.

See also

IDOMMutationEvent::newValue