IBitSet::HasIntersection Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{#parentPage:PXV:IBitSet#Methods|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.
Checks whether the values of the current bitset have an intersection with the values from the source bitset.
+
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT HasIntersection([in]          IBitSet*      pSource,
 
<pre class="brush:cpp;gutter:false">HRESULT HasIntersection([in]          IBitSet*      pSource,
                         [out, retval]  VARIANT_BOOL*  pVal);</pre>
+
                         [out, retval]  VARIANT_BOOL*  bVal);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pSource
 
;pSource
:[in]  Pointer to [[PXV:IBitSet|IBitSet]] containing the source bitset.
+
:[in]  Pointer to [[PXV:IBitSet|IBitSet]] containing the source bit-set.
;pVal
+
;bVal
 
:[out, retval]  Pointer to VARIANT_BOOL containing the intersection check result.
 
:[out, retval]  Pointer to VARIANT_BOOL containing the intersection check result.
  

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.

See Also

IBitSet