FormatterServices Members

Provides static methods to aid with the implementation of a Formatter for serialization. This class cannot be inherited.

The FormatterServices type exposes the following members.

  NameDescription
Public method Static member CheckTypeSecurity Determines whether the specified Type can be deserialized with the TypeFilterLevel property set to Low.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member GetObjectData Extracts the data from the specified object and returns it as an array of objects.
Public method Static member GetSafeUninitializedObject Creates a new instance of the specified object type.
Public method Static member GetSerializableMembers Overloaded. Returns all the serializable members for a particular class.
Public method Static member GetSurrogateForCyclicalReference Returns a serialization surrogate for the specified ISerializationSurrogate.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member GetTypeFromAssembly Looks up the Type of the specified object in the provided Assembly.
Public method Static member GetUninitializedObject Creates a new instance of the specified object type.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member PopulateObjectMembers Populates the specified object with values for each field drawn from the data array of objects.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft