Export (0) Print
Expand All

FormatterServices Methods

The FormatterServices type exposes the following members.

  Name Description
Public method Static member CheckTypeSecurity Determines whether the specified Type can be deserialized with the TypeFilterLevel property set to Low.
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(Type) Gets all the serializable members for a class of the specified Type.
Public method Static member GetSerializableMembers(Type, StreamingContext) Gets all the serializable members for a class of the specified Type and in the provided StreamingContext.
Public method Static member GetSurrogateForCyclicalReference Returns a serialization surrogate for the specified ISerializationSurrogate.
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.
Public method Static member PopulateObjectMembers Populates the specified object with values for each field drawn from the data array of objects.
Top
Show:
© 2014 Microsoft