IsolatedStorageFileStream.Position プロパティ
現在の IsolatedStorageFileStream オブジェクトの現在位置を取得するか、指定した値に設定します。
名前空間: System.IO.IsolatedStorage
アセンブリ: mscorlib (mscorlib.dll 内)
構文
Dim instance As IsolatedStorageFileStream Dim value As Long value = instance.Position instance.Position = value
public: virtual property long long Position { long long get () override; void set (long long value) override; }



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.Position プロパティのページへのリンク