Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Indicates whether the value for this attribute is explicitly specified or derived from a default value.
Syntax
HRESULT get_specified( VARIANT_BOOL * isSpecified);
Parameters
- isSpecified
- [out] True if the value for the attribute is explicitly specified, or false if the value comes from a default value defined in the DTD or schema.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
If you set the attribute value (even to the same value as the default), the specified property is automatically changed to true. To subsequently use the default value from the DTD, you must delete the attribute, which creates a new attribute with the default value and automatically resets the specified property to false.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.