SerializationInfo.FullTypeName 属性

定义

获取或设置要序列化的 Type 全名。

public:
 property System::String ^ FullTypeName { System::String ^ get(); void set(System::String ^ value); };
public string FullTypeName { get; set; }
member this.FullTypeName : string with get, set
Public Property FullTypeName As String

属性值

要序列化的类型的完整名称。

例外

此属性设置为的值是 null

注解

FullTypeName 与通过调用 on FullNameType返回的内容相同。 这是格式化程序在此对象序列化类型信息时使用的类型名称。

更改类型以序列化的用户(例如,发送特定类型的代理)需要设置此属性的值。

Caution

不要在反序列化期间使用此属性,因为此属性的值未定义。

适用于