IsolatedStorageFileStream.Length プロパティ
アセンブリ: mscorlib (mscorlib.dll 内)
構文バイト単位の IsolatedStorageFileStream オブジェクトの長さ。
解説
使用例Console.WriteLine("Writing data to the new file.") While source.Position < source.Length inputChar = CByte(source.ReadByte()) target.WriteByte(inputChar) End While ' Determine the size of the IsolatedStorageFileStream ' by checking its Length property. Console.WriteLine(("Total Bytes Read: " & source.Length))
Console.WriteLine("Writing data to the new file.");
while (source.Position < source.Length)
{
inputChar = (byte)source.ReadByte();
target.WriteByte(inputChar);
}
// Determine the size of the IsolatedStorageFileStream
// by checking its Length property.
Console.WriteLine("Total Bytes Read: " + source.Length);
Console::WriteLine( "Writing data to the new file." ); while ( source->Position < source->Length ) { inputChar = (Byte)source->ReadByte(); target->WriteByte( (Byte)source->ReadByte() ); } // Determine the size of the IsolatedStorageFileStream // by checking its Length property. Console::WriteLine( "Total Bytes Read: {0}", source->Length.ToString() );
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- IsolatedStorageFileStream.Length プロパティのページへのリンク