The Tag method accepts notification of a tag in the content stream.
HRESULT Tag(
[in] IUnknown* pTag
[in] BOOL fChildren
);
pTag
The populated tag
fChildren
This has a value of true if the tag has children (either text or nested tags within the tag)
If fChildren is true, a matching EndChildren() is required. If fChildren is false, EndChildren() must not be called for this tag. In case of unbalanced calls, E_UNEXPECTED is returned from Finish() or EndChildren(), as soon as the problem is detected (which is likely to be much later than the actual error).
© 2000 Microsoft Corporation. All rights reserved. Terms of use.