PersistStreamTypeWrapper.GetObject<T>(T) 方法

定义

使用对象的 IPersistStream 接口从字节流中反序列化对象。Uses the IPersistStream interface of the object to deserialize an object from a byte stream.

public:
generic <typename T>
 void GetObject(T % obj);
public void GetObject<T> (ref T obj);
member this.GetObject : 'T -> unit
Public Sub GetObject(Of T) (ByRef obj As T)

类型参数

T

对象类型。The object type.

参数

obj
T

一个要在其中放置反序列化对象的对象。An object into which the deserialized object will be placed.

适用于