IsolatedStorageFileStream.ReadByte メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Dim instance As IsolatedStorageFileStream Dim returnValue As Integer returnValue = instance.ReadByte
分離ストレージ ファイルから読み取られた 8 ビット符号なし整数値。

ReadByte メソッドを使用して IsolatedStorageFileStream オブジェクトからデータを読み取るコード例を次に示します。この例のコンテキスト全体については、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.ReadByte メソッドのページへのリンク