IBitSet::Set Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Set([in] ULONG | + | <pre class="brush:cpp;gutter:false">HRESULT Set([in] ULONG StartIndex, |
− | [in, defaultvalue(1)] ULONG | + | [in, defaultvalue(1)] ULONG Count, |
− | [in, defaultvalue(-1)] VARIANT_BOOL | + | [in, defaultvalue(-1)] VARIANT_BOOL On);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;StartIndex |
:[in] Starting index of the interval. | :[in] Starting index of the interval. | ||
− | ; | + | ;Count |
:[in, defaultvalue(1)] Number of items in the interval. | :[in, defaultvalue(1)] Number of items in the interval. | ||
− | ; | + | ;On |
:[in, defaultvalue(-1)] Value that would be appointed to the items. | :[in, defaultvalue(-1)] Value that would be appointed to the items. | ||
− | == Return Value ==== Return Value == | + | == Return Value == == |
+ | Return Value == | ||
Returns S_OK if the operation was successful, otherwise an error code is returned. | Returns S_OK if the operation was successful, otherwise an error code is returned. | ||
== See Also == | == See Also == | ||
[[PXV:IBitSet|IBitSet]] | [[PXV:IBitSet|IBitSet]] |
Revision as of 05:46, 12 June 2015
Sets bit-set items, with given values, within the interval.
Syntax
HRESULT Set([in] ULONG StartIndex, [in, defaultvalue(1)] ULONG Count, [in, defaultvalue(-1)] VARIANT_BOOL On);
Parameters
- StartIndex
- [in] Starting index of the interval.
- Count
- [in, defaultvalue(1)] Number of items in the interval.
- On
- [in, defaultvalue(-1)] Value that would be appointed to the items.
Return Value ==
Return Value == Returns S_OK if the operation was successful, otherwise an error code is returned.