Bewerken

Share via


IFieldInfo Interface

Definition

Caution

Formatter-based serialization is obsolete and should not be used.

Allows access to field names and field types of objects that support the ISerializable interface.

public interface class IFieldInfo
public interface IFieldInfo
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public interface IFieldInfo
[System.Runtime.InteropServices.ComVisible(true)]
public interface IFieldInfo
type IFieldInfo = interface
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type IFieldInfo = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IFieldInfo = interface
Public Interface IFieldInfo
Attributes

Properties

FieldNames

Gets or sets the field names of serialized objects.

FieldTypes

Gets or sets the field types of the serialized objects.

Applies to