IBitSet::SetSize Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetSize([in]  ULONG  nNewCount);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetSize([in]  ULONG  NewCount);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nNewCount
+
;NewCount
 
:[in]  Number of items in the bit-set.
 
:[in]  Number of items in the bit-set.
  

Revision as of 06:46, 12 June 2015

Sets the number of items in the bit-set. Note that this function should be used after the creation of the bit-set, to ensure its correct functionality. Also, this function will clear all previous data in a bit-set.

Syntax

HRESULT SetSize([in]  ULONG  NewCount);

Parameters

NewCount
[in] Number of items in the bit-set.

Return Value

Returns S_OK if the operation was successful, otherwise an error code is returned.

See Also

IBitSet