Silverlight 5 | WinRT |
public sealed enum ByteOrder | |
: IComparable, IFormattable, IConvertible | |
{ LittleEndian, BigEndian } |
public sealed class CreateStreamOperation | |
: __ComObject, IAsyncOperation`1<IRandomAccessStreamWithContentType>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<IRandomAccessStreamWithContentType> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual IRandomAccessStreamWithContentType GetResults(); | |
public virtual void Start(); |
public sealed class DataReader | |
: __ComObject, IDataReader | |
public virtual ByteOrder ByteOrder { get; set; } | |
public virtual InputStreamOptions InputStreamOptions { get; set; } | |
public virtual UInt32 UnconsumedBufferLength { get; } | |
public virtual UnicodeEncoding UnicodeEncoding { get; set; } | |
public virtual IBuffer DetachBuffer(); | |
public virtual IInputStream DetachStream(); | |
static public DataReader FromBuffer(IBuffer buffer); | |
public virtual DataReaderLoadOperation LoadAsync(UInt32 count); | |
public virtual Boolean ReadBoolean(); | |
public virtual IBuffer ReadBuffer(UInt32 length); | |
public virtual Byte ReadByte(); | |
public virtual void ReadBytes(out Byte value); | |
public virtual DateTimeOffset ReadDateTime(); | |
public virtual Double ReadDouble(); | |
public virtual Guid ReadGuid(); | |
public virtual Int16 ReadInt16(); | |
public virtual Int32 ReadInt32(); | |
public virtual Int64 ReadInt64(); | |
public virtual Single ReadSingle(); | |
public virtual String ReadString(UInt32 codeUnitCount); | |
public virtual TimeSpan ReadTimeSpan(); | |
public virtual UInt16 ReadUInt16(); | |
public virtual UInt32 ReadUInt32(); | |
public virtual UInt64 ReadUInt64(); |
public sealed class DataReaderLoadOperation | |
: __ComObject, IAsyncOperation`1<UInt32>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<UInt32> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual UInt32 GetResults(); | |
public virtual void Start(); |
public sealed class DataWriter | |
: __ComObject, IDataWriter | |
public virtual ByteOrder ByteOrder { get; set; } | |
public virtual UnicodeEncoding UnicodeEncoding { get; set; } | |
public virtual UInt32 UnstoredBufferLength { get; } | |
public virtual IBuffer DetachBuffer(); | |
public virtual IOutputStream DetachStream(); | |
public virtual UInt32 MeasureString(String value); | |
public virtual DataWriterStoreOperation StoreAsync(); | |
public virtual void WriteBoolean(Boolean value); | |
public virtual void WriteBuffer(IBuffer buffer); | |
public virtual void WriteBuffer(IBuffer buffer, UInt32 start, UInt32 count); | |
public virtual void WriteByte(Byte value); | |
public virtual void WriteBytes(Byte value); | |
public virtual void WriteDateTime(DateTimeOffset value); | |
public virtual void WriteDouble(Double value); | |
public virtual void WriteGuid(Guid value); | |
public virtual void WriteInt16(Int16 value); | |
public virtual void WriteInt32(Int32 value); | |
public virtual void WriteInt64(Int64 value); | |
public virtual void WriteSingle(Single value); | |
public virtual UInt32 WriteString(String value); | |
public virtual void WriteTimeSpan(TimeSpan value); | |
public virtual void WriteUInt16(UInt16 value); | |
public virtual void WriteUInt32(UInt32 value); | |
public virtual void WriteUInt64(UInt64 value); |
public sealed class DataWriterStoreOperation | |
: __ComObject, IAsyncOperation`1<UInt32>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<UInt32> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual UInt32 GetResults(); | |
public virtual void Start(); |
public abstract interface IBuffer | |
public abstract virtual UInt32 Capacity { get; } | |
public abstract virtual UInt32 Length { get; set; } |
public abstract interface IContentTypeProvider | |
public abstract virtual String ContentType { get; } |
public abstract interface IDataReader | |
public abstract virtual ByteOrder ByteOrder { get; set; } | |
public abstract virtual InputStreamOptions InputStreamOptions { get; set; } | |
public abstract virtual UInt32 UnconsumedBufferLength { get; } | |
public abstract virtual UnicodeEncoding UnicodeEncoding { get; set; } | |
public abstract virtual IBuffer DetachBuffer(); | |
public abstract virtual IInputStream DetachStream(); | |
public abstract virtual DataReaderLoadOperation LoadAsync(UInt32 count); | |
public abstract virtual Boolean ReadBoolean(); | |
public abstract virtual IBuffer ReadBuffer(UInt32 length); | |
public abstract virtual Byte ReadByte(); | |
public abstract virtual void ReadBytes(out Byte value); | |
public abstract virtual DateTimeOffset ReadDateTime(); | |
public abstract virtual Double ReadDouble(); | |
public abstract virtual Guid ReadGuid(); | |
public abstract virtual Int16 ReadInt16(); | |
public abstract virtual Int32 ReadInt32(); | |
public abstract virtual Int64 ReadInt64(); | |
public abstract virtual Single ReadSingle(); | |
public abstract virtual String ReadString(UInt32 codeUnitCount); | |
public abstract virtual TimeSpan ReadTimeSpan(); | |
public abstract virtual UInt16 ReadUInt16(); | |
public abstract virtual UInt32 ReadUInt32(); | |
public abstract virtual UInt64 ReadUInt64(); |
public abstract interface IDataReaderFactory | |
public abstract virtual DataReader CreateDataReader(IInputStream inputStream); |
public abstract interface IDataReaderStatics | |
public abstract virtual DataReader FromBuffer(IBuffer buffer); |
public abstract interface IDataWriter | |
public abstract virtual ByteOrder ByteOrder { get; set; } | |
public abstract virtual UnicodeEncoding UnicodeEncoding { get; set; } | |
public abstract virtual UInt32 UnstoredBufferLength { get; } | |
public abstract virtual IBuffer DetachBuffer(); | |
public abstract virtual IOutputStream DetachStream(); | |
public abstract virtual UInt32 MeasureString(String value); | |
public abstract virtual DataWriterStoreOperation StoreAsync(); | |
public abstract virtual void WriteBoolean(Boolean value); | |
public abstract virtual void WriteBuffer(IBuffer buffer); | |
public abstract virtual void WriteBuffer(IBuffer buffer, UInt32 start, UInt32 count); | |
public abstract virtual void WriteByte(Byte value); | |
public abstract virtual void WriteBytes(Byte value); | |
public abstract virtual void WriteDateTime(DateTimeOffset value); | |
public abstract virtual void WriteDouble(Double value); | |
public abstract virtual void WriteGuid(Guid value); | |
public abstract virtual void WriteInt16(Int16 value); | |
public abstract virtual void WriteInt32(Int32 value); | |
public abstract virtual void WriteInt64(Int64 value); | |
public abstract virtual void WriteSingle(Single value); | |
public abstract virtual UInt32 WriteString(String value); | |
public abstract virtual void WriteTimeSpan(TimeSpan value); | |
public abstract virtual void WriteUInt16(UInt16 value); | |
public abstract virtual void WriteUInt32(UInt32 value); | |
public abstract virtual void WriteUInt64(UInt64 value); |
public abstract interface IDataWriterFactory | |
public abstract virtual DataWriter CreateDataWriter(IOutputStream outputStream); |
public abstract interface IInputStream | |
public abstract virtual IAsyncOperationWithProgress`2<IBuffer, UInt32> ReadAsync(IBuffer buffer, UInt32 count, InputStreamOptions options); |
public sealed class InMemoryRandomAccessStream | |
: __ComObject, IRandomAccessStream | |
public virtual UInt64 Size { get; set; } | |
public virtual IInputStream GetInputStreamAt(UInt64 position); | |
public virtual IOutputStream GetOutputStreamAt(UInt64 position); |
public sealed enum InputStreamOptions | |
: IComparable, IFormattable, IConvertible | |
{ None, Partial, ReadAhead } |
public abstract interface IOutputStream | |
public abstract virtual IAsyncOperation`1<Boolean> FlushAsync(); | |
public abstract virtual IAsyncOperationWithProgress`2<UInt32, UInt32> WriteAsync(IBuffer buffer); |
public abstract interface IRandomAccessStream | |
public abstract virtual UInt64 Size { get; set; } | |
public abstract virtual IInputStream GetInputStreamAt(UInt64 position); | |
public abstract virtual IOutputStream GetOutputStreamAt(UInt64 position); |
public abstract interface IRandomAccessStreamStatics | |
public abstract virtual void Copy(IInputStream src, IOutputStream dest); | |
public abstract virtual void Copy(IInputStream src, IOutputStream dest, UInt64 bytesToCopy); |
public abstract interface IRandomAccessStreamWithContentType | |
: IRandomAccessStream, IContentTypeProvider |
public abstract interface IStreamReferenceStatics | |
public abstract virtual StreamReference CreateFromFile(StorageFile file); | |
public abstract virtual StreamReference CreateFromStream(IRandomAccessStream stream); | |
public abstract virtual StreamReference CreateFromUri(Uri uri); |
public abstract sealed class RandomAccessStream | |
: __ComObject | |
static public void Copy(IInputStream src, IOutputStream dest); | |
static public void Copy(IInputStream src, IOutputStream dest, UInt64 bytesToCopy); |
public sealed class StreamFlushOperation | |
: __ComObject, IAsyncOperation`1<Boolean>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<Boolean> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual Boolean GetResults(); | |
public virtual void Start(); |
public sealed class StreamReadOperation | |
: __ComObject, IAsyncOperationWithProgress`2<IBuffer, UInt32>, IAsyncInfo | |
public virtual AsyncOperationWithProgressCompletedHandler`2<IBuffer, UInt32> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncOperationProgressHandler`2<IBuffer, UInt32> Progress { get; set; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual IBuffer GetResults(); | |
public virtual void Start(); |
public sealed class StreamReference | |
: __ComObject, IStreamReference | |
static public StreamReference CreateFromFile(StorageFile file); | |
static public StreamReference CreateFromStream(IRandomAccessStream stream); | |
static public StreamReference CreateFromUri(Uri uri); | |
public virtual CreateStreamOperation GetStreamAsync(); |
public sealed class StreamWriteOperation | |
: __ComObject, IAsyncOperationWithProgress`2<UInt32, UInt32>, IAsyncInfo | |
public virtual AsyncOperationWithProgressCompletedHandler`2<UInt32, UInt32> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncOperationProgressHandler`2<UInt32, UInt32> Progress { get; set; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual UInt32 GetResults(); | |
public virtual void Start(); |
public sealed enum UnicodeEncoding | |
: IComparable, IFormattable, IConvertible | |
{ Utf8, Utf16LE, Utf16BE } |