XmlBinaryWriterSession.TryAdd Method (XmlDictionaryString, Int32)
Tries to add an XmlDictionaryString to the internal collection.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Return ValueType: System.Boolean
true if the string could be added; otherwise, false.
When you use this class you must override this method to send the collection of keys along with the message. Without overriding, a new key is added to the collection, which is saved, but not sent with the message.
Available since 8
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Available since 8.1