This documentation is archived and is not being maintained.
SerializationExtensions Class
Provides a set of extension methods for serialization.
Namespace:
Microsoft.VisualStudio.UtilitiesAssembly:
Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
System.Object Microsoft.VisualStudio.Utilities.SerializationExtensions
public static class SerializationExtensions
| Name | Description |
|---|
  | ReadDrawingSize(BinaryReader) | Reads a Size struct from reader. |
  | ReadGuid(BinaryReader) | |
  | ReadInt16Size(BinaryReader) | Reads a Int16Size struct from reader. |
  | ReadNullableBoolean(BinaryReader) | Reads a bool? from reader. |
  | ReadNullableChar(BinaryReader) | Reads a char? from reader. |
  | ReadNullableDouble(BinaryReader) | Reads a double? from reader. |
  | ReadNullableInt16(BinaryReader) | Reads a short? from reader. |
  | ReadNullableInt32(BinaryReader) | Reads a int? from reader. |
  | ReadNullableInt64(BinaryReader) | Reads a long? from reader. |
  | ReadNullableSingle(BinaryReader) | Reads a float? from reader. |
  | ReadNullableUInt16(BinaryReader) | Reads a ushort? from reader. |
  | ReadNullableUInt32(BinaryReader) | Reads a uint? from reader. |
  | ReadNullableUInt64(BinaryReader) | Reads a ulong? from reader. |
  | ReadWindowsSize(BinaryReader) | Reads a Size struct from reader. |
  | Write(BinaryWriter, Guid) | |
  | Write(BinaryWriter, Int16Size) | Writes an Int16Size to writer. |
  | Write(BinaryWriter, Nullable<Boolean>) | Writes a bool? to writer. |
  | Write(BinaryWriter, Nullable<Char>) | Writes a char? to writer. |
  | Write(BinaryWriter, Nullable<Double>) | Writes a double? to writer. |
  | Write(BinaryWriter, Nullable<Int16>) | Writes a short? to writer. |
  | Write(BinaryWriter, Nullable<Int32>) | |
  | Write(BinaryWriter, Nullable<Int64>) | Writes a long? to writer. |
  | Write(BinaryWriter, Nullable<Single>) | Writes a float? to writer. |
  | Write(BinaryWriter, Nullable<UInt16>) | Writes a ushort? to writer. |
  | Write(BinaryWriter, Nullable<UInt32>) | Writes a uint? to writer. |
  | Write(BinaryWriter, Nullable<UInt64>) | Writes a ulong? to writer. |
  | Write(BinaryWriter, Size) | |
  | Write(BinaryWriter, Size) | |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Return to top