The System.Runtime.Serialization.SerializationInfo.AddValue method in C# is used to add a value to the SerializationInfo object during the serialization process. This method takes in two parameters: a string that represents the name of the value being added, and an object that represents the actual value being added. This allows developers to store data in the SerializationInfo object for later use during deserialization. The added values can then be retrieved using the GetXXX methods provided by the SerializationInfo class.
C# (CSharp) System.Runtime.Serialization SerializationInfo.AddValue - 60 examples found. These are the top rated real world C# (CSharp) examples of System.Runtime.Serialization.SerializationInfo.AddValue extracted from open source projects. You can rate examples to help us improve the quality of examples.