Removes the given property from the object.
Syntax
HRESULT removeAttribute( BSTR strAttributeName, VARIANT_BOOL fCaseSensitive, VARIANT_BOOL *pfSuccess );
Parameters
- strAttributeName
- String that specifies the name of the property.
- fCaseSensitive
- Boolean value that specifies whether to use a case-sensitive search to locate the property. If TRUE, the uppercase and lowercase letters in strAttributeName must match exactly those in the property name.
- pfSuccess
- Address of a variable that receives TRUE if the function succeeds, or FALSE otherwise.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
If two or more properties have the same namediffering only in uppercase and lowercase lettersand fCaseSensitive is false, this method removes only the last property to be created with this name. All other properties of the same name are ignored.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
getAttribute, setAttribute