FormatterServices Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Formatter-based serialization is obsolete and should not be used.
Provides static methods to aid with the implementation of a Formatter for serialization. This class cannot be inherited.
public ref class FormatterServices abstract sealed
public ref class FormatterServices sealed
public static class FormatterServices
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static class FormatterServices
public sealed class FormatterServices
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class FormatterServices
[System.Runtime.InteropServices.ComVisible(true)]
public static class FormatterServices
type FormatterServices = class
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type FormatterServices = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type FormatterServices = class
Public Class FormatterServices
Public NotInheritable Class FormatterServices
- Inheritance
-
FormatterServices
- Attributes
Check |
Determines whether the specified Type can be deserialized with the TypeFilterLevel property set to |
Get |
Extracts the data from the specified object and returns it as an array of objects. |
Get |
Creates a new instance of the specified object type. |
Get |
Gets all the serializable members for a class of the specified Type and in the provided StreamingContext. |
Get |
Gets all the serializable members for a class of the specified Type. |
Get |
Returns a serialization surrogate for the specified ISerializationSurrogate. |
Get |
Looks up the Type of the specified object in the provided Assembly. |
Get |
Creates a new instance of the specified object type. |
Populate |
Populates the specified object with values for each field drawn from the data array of objects. |
Product | Versions (Obsolete) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 (8 (package-provided), 8, 9) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: