PersistStreamTypeWrapper.SetObject<T>(T) Método
Definição
Usa a interface IPersistStream do objeto para serializar o objeto para um fluxo de bytes.Uses the IPersistStream interface of the object to serialize that object to a byte stream.
public:
generic <typename T>
void SetObject(T obj);
public void SetObject<T> (T obj);
member this.SetObject : 'T -> unit
Public Sub SetObject(Of T) (obj As T)
Parâmetros de tipo
- T
O tipo de objeto.The object type.
Parâmetros
- obj
- T
O objeto a ser persistido para o fluxo de bytes.The object to be persisted to the byte stream.
Comentários
O objeto a ser persistido para o fluxo de bytes deve ser um objeto COM.The object to be persisted to the byte stream must be a COM object.