FormatterServices クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
Formatter-based serialization is obsolete and should not be used.
シリアル化の Formatter の実装を支援する静的メソッドを提供します。 このクラスは継承できません。
public ref class FormatterServices abstract sealed
public ref class FormatterServices sealed
[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 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
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type FormatterServices = class
type FormatterServices = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type FormatterServices = class
Public Class FormatterServices
Public NotInheritable Class FormatterServices
- 継承
-
FormatterServices
- 属性
メソッド
| 名前 | 説明 |
|---|---|
| CheckTypeSecurity(Type, TypeFilterLevel) |
古い.
Type プロパティを TypeFilterLevel に設定して、指定した |
| GetObjectData(Object, MemberInfo[]) |
古い.
指定したオブジェクトからデータを抽出し、オブジェクトの配列として返します。 |
| GetSafeUninitializedObject(Type) |
古い.
指定したオブジェクト型の新しいインスタンスを作成します。 |
| GetSerializableMembers(Type, StreamingContext) |
古い.
指定した Type および指定された StreamingContext内のクラスのすべてのシリアル化可能なメンバーを取得します。 |
| GetSerializableMembers(Type) |
古い.
指定した Typeのクラスのすべてのシリアル化可能なメンバーを取得します。 |
| GetSurrogateForCyclicalReference(ISerializationSurrogate) |
古い.
指定した ISerializationSurrogateのシリアル化サロゲートを返します。 |
| GetTypeFromAssembly(Assembly, String) |
古い.
|
| GetUninitializedObject(Type) |
古い.
指定したオブジェクト型の新しいインスタンスを作成します。 |
| PopulateObjectMembers(Object, MemberInfo[], Object[]) |
古い.
オブジェクトのデータ配列から描画された各フィールドの値を指定したオブジェクトに設定します。 |