Прочетете на английски Редактиране

Споделяне чрез


SerializationInfo.FullTypeName Property

Definition

Gets or sets the full name of the Type to serialize.

C#
public string FullTypeName { get; set; }

Property Value

The full name of the type to serialize.

Exceptions

The value this property is set to is null.

Remarks

The FullTypeName is the same as what would be returned by calling the FullName on Type. This is the type name the formatter uses when serializing type information for this object.

Users who are changing the type to serialize (for example, to send a proxy for a particular type) will want to set the value of this property.

Внимание

Do not use this property during deserialization because the value of this property is undefined.

Applies to

Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.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