Re: Set FileSize
- From: "AMDRIT" <amdrit@xxxxxxxxxxx>
- Date: Fri, 16 Sep 2005 17:22:37 -0500
Doesn't that just get/set the size of the stream?
"Mattias Sjögren" <mattias.dont.want.spam@xxxxxxxx> wrote in message
news:%23HtIfswuFHA.1560@xxxxxxxxxxxxxxxxxxxxxxx
>
>>I am looking to set the size an existing file. I have a file that I am
>>storing data in, in a binary format. Upon deletion of data, I reorder the
>>data to the top of the file. Now that I have all of this free space, how
>>do
>>I resize the file?
>
> FileStream.SetLength
>
>
>
> Mattias
>
> --
> Mattias Sjögren [MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.
.
- References:
- Set FileSize
- From: AMDRIT
- Re: Set FileSize
- From: Mattias Sjögren
- Set FileSize
- Prev by Date: Re: Read Configuration
- Next by Date: Re: Set FileSize
- Previous by thread: Re: Set FileSize
- Next by thread: Re: Set FileSize
- Index(es):
Relevant Pages
|