Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IHTMLElement2::getExpression method

This element is obsolete and should no longer be used. Retrieves the expression for the given property.

Syntax


Variant* getExpression(
  [in]  BSTR sPropertyName
);

Parameters

sPropertyName [in]

BSTR that specifies the name of the property from which to retrieve the expression.

Return value

Pointer to a variant value representing the expression of the property.

Remarks

The following syntax sections show how to retrieve an expression from supported Cascading Style Sheets (CSS) and DHTML Properties.

  • Use this syntax to retrieve an expression from a read/write property or from an IHTMLDocument2::expando property.
    
    var sExpression = object.getExpression(sPropertyName)
    
    
  • Use this syntax to retrieve an expression from a CSS attribute.
    
    var sExpression = object.style.getExpression(sPropertyName)
    
    

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLElement2
Reference
IHTMLDocument3::recalc
IHTMLElement2::removeExpression
IHTMLElement2::setExpression
Conceptual
CSS Attributes: Index
About Dynamic Properties

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.