GetProperty method
Gets the value associated with a user-defined property name.
Syntax
object.GetProperty(sProperty, vValue)Parameters
- sProperty [in]
-
Type: BSTR
Required. A String that specifies the exact name of the property to get.
- vValue [out]
-
C++ A pointer to a Variant structure that receives the value associated with the given property. VB Required. A variable that receives the current value of the property.
Remarks
The property name specified in bstrProperty is case-sensitive.
If the property is not set, this method returns a Variant of type Null.
The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.
This feature is provided so that objects can save state across pages. There are no pre-defined property names. See PutProperty for more information.
See also
- InternetExplorer
- WebBrowser
- Reference
- PutProperty
- PropertyChange
Show: