Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Indicates whether the node (usually an attribute) is explicitly specified or derived from a default value in the DTD or schema.
Syntax
HRESULT get_specified( VARIANT_BOOL * isSpecified);
Parameters
- isSpecified
- [out] True if the attribute is explicitly specified in the element. Returns false if the attribute value comes from the document type definition (DTD) or schema.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This value depends on the value of the nodeType property:
- NODE_ATTRIBUTE
Returns true if the attribute was specified directly on the element. Returns false for default attributes.
- NODE_CDATA_SECTION
,- NODE_COMMENT
,- NODE_DOCUMENT
,- NODE_DOCUMENT_FRAGMENT
,- NODE_DOCUMENT_TYPE
,- NODE_ELEMENT
,- NODE_ENTITY
,- NODE_ENTITY_REFERENCE
,- NODE_NOTATION
,- NODE_PROCESSING_INSTRUCTION
,- NODE_TEXT
Returns true.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.