IBitSet::SetWithGrow Method

From Tracker Software PDF SDK
Revision as of 03:12, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sets a given bit-set item with a given value. If the item's index exceeds the bit-set size, it will be expanded to accommodate that item.

New added items will be filled with a false value.


HRESULT SetWithGrow([in]                    ULONG         nIndex,
                    [in, defaultvalue(-1)]  VARIANT_BOOL  bOn);


[in] Index of the item that needs to be set with a value.
[in, defaultvalue(-1)] New value of the given item.

Return Value

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

See Also