C# OperatingSystem GetObjectData

Description

OperatingSystem GetObjectData populates a System.Runtime.Serialization.SerializationInfo object with the data necessary to deserialize this instance.

Syntax

OperatingSystem.GetObjectData has the following syntax.


public void GetObjectData(
  SerializationInfo info,
  StreamingContext context
)

Parameters

OperatingSystem.GetObjectData has the following parameters.

  • info - The object to populate with serialization information.
  • context - The place to store and retrieve serialized data. Reserved for future use.

Returns

OperatingSystem.GetObjectData method returns





















Home »
  C# Tutorial »
    System »




Array
BitConverter
Boolean
Byte
Char
Console
ConsoleKeyInfo
Convert
DateTime
DateTimeOffset
Decimal
Double
Enum
Environment
Exception
Guid
Int16
Int32
Int64
Math
OperatingSystem
Random
SByte
Single
String
StringComparer
TimeSpan
TimeZone
TimeZoneInfo
Tuple
Tuple
Tuple
Type
UInt16
UInt32
UInt64
Uri
Version