Bagikan melalui


SerializationBinder.BindToName(Type, String, String) Metode

Definisi

Saat ditimpa di kelas turunan, mengontrol pengikatan objek berseri ke jenis.

public:
 virtual void BindToName(Type ^ serializedType, [Runtime::InteropServices::Out] System::String ^ % assemblyName, [Runtime::InteropServices::Out] System::String ^ % typeName);
public virtual void BindToName (Type serializedType, out string? assemblyName, out string? typeName);
public virtual void BindToName (Type serializedType, out string assemblyName, out string typeName);
abstract member BindToName : Type * string * string -> unit
override this.BindToName : Type * string * string -> unit
Public Overridable Sub BindToName (serializedType As Type, ByRef assemblyName As String, ByRef typeName As String)

Parameter

serializedType
Type

Jenis objek tempat pemformat membuat instans baru.

assemblyName
String

Menentukan nama objek yang diserialisasikan Assembly .

typeName
String

Menentukan nama objek yang diserialisasikan Type .

Berlaku untuk