IBitSet::HasIntersection Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IBitSet::HasIntersection Method}} | {{#customTitle:IBitSet::HasIntersection Method}} | ||
+ | {{#parentPage:PXV:IBitSet#Methods|HasIntersection|method}} | ||
− | + | Checks whether the values of the current bit-set have an intersection with the values from the source bit-set. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT HasIntersection([in] IBitSet* pSource, [out, retval] VARIANT_BOOL* | + | <pre class="brush:cpp;gutter:false">HRESULT HasIntersection([in] IBitSet* pSource, |
+ | [out, retval] VARIANT_BOOL* bVal);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pSource |
− | :[in] Pointer to [[PXV:IBitSet|IBitSet]]. | + | :[in] Pointer to [[PXV:IBitSet|IBitSet]] containing the source bit-set. |
− | ; | + | ;bVal |
− | :[out, retval] Pointer to VARIANT_BOOL. | + | :[out, retval] Pointer to VARIANT_BOOL containing the intersection check result. |
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful | + | Returns S_OK if the operation was successful, otherwise an error code is returned. |
== See Also == | == See Also == | ||
− | + | [[PXV:IBitSet|IBitSet]] |
Latest revision as of 03:12, 15 June 2015
Checks whether the values of the current bit-set have an intersection with the values from the source bit-set.
Syntax
HRESULT HasIntersection([in] IBitSet* pSource, [out, retval] VARIANT_BOOL* bVal);
Parameters
- pSource
- [in] Pointer to IBitSet containing the source bit-set.
- bVal
- [out, retval] Pointer to VARIANT_BOOL containing the intersection check result.
Return Value
Returns S_OK if the operation was successful, otherwise an error code is returned.