SerializationInfo.FullTypeName 屬性


取得或設定要序列化之 Type 的完整名稱。Gets or sets the full name of the Type to serialize.

 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


要序列化之型別的完整名稱。The full name of the type to serialize.


要設定的這個屬性值為 nullThe value this property is set to is null.


FullTypeName與呼叫onType的會傳回相同的。 FullNameThe 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.

將類型變更為序列化的使用者 (例如, 為了傳送特定類型的 proxy), 會想要設定這個屬性的值。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.