Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Deletes the specified substring within the string data.
Syntax
HRESULT deleteData( long offset, long count);
Parameters
- offset
- [in] Offset, in characters, at which to start deleting string data.
- count
- [in] Number of characters to delete.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
If the offset and count of characters specify a range beyond the end of the string, this method deletes only to the end of the string.
The length property is updated by this operation.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.