Share via


SerializationUtilities Members

Include Protected Members
Include Inherited Members

Provides utilities for serialization.

The SerializationUtilities type exposes the following members.

Methods

 

Name

Description

Public methodStatic member

AddMessage

Overloaded. Adds a message to a serialization result.

Public methodStatic member

AddValidationMessage

Adds a validation message to a serialization result.

Public methodStatic member

GetElementName

Gets the name of an element in the serialization results.

Public methodStatic member

GetPositionInfo

Gets the position of the reader in the serialization results.

Public methodStatic member

GetString

Overloaded. Converts an object of a given type into a string.

Public methodStatic member

GetValue<T>

Converts a string into a given type.

Public methodStatic member

Skip

Skips the XmlReader.

Public methodStatic member

SkipToFirstChild

Moves the reader to the open tag of the first child element.

Public methodStatic member

SkipToNextElement

Moves the reader to the start tag of the next element.

Public methodStatic member

TryGetValue<T>

Tries to convert a string into a given type.

Public methodStatic member

TryGetValueFromBinaryForm<T>

Tries to deserialize a type from the given string.

Public methodStatic member

UnescapeXmlString

Converts an escaped string to an unescaped string read from XML.

Top

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace