UCOMIStream Interfaccia

Definizione

Attenzione

Use System.Runtime.InteropServices.ComTypes.IStream instead. http://go.microsoft.com/fwlink/?linkid=14202

Attenzione

Questa API è ora deprecata.

In alternativa, utilizzare IStream.

public interface class UCOMIStream
[System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIStream
[System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IStream instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIStream
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete]
[System.Runtime.InteropServices.Guid("0000000c-0000-0000-c000-000000000046")]
public interface UCOMIStream
[<System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIStream = interface
[<System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IStream instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMIStream = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete>]
[<System.Runtime.InteropServices.Guid("0000000c-0000-0000-c000-000000000046")>]
type UCOMIStream = interface
Public Interface UCOMIStream
Attributi

Commenti

Per ulteriori informazioni, consultare la documentazione esistente per IStream e ISequentialStream nella sottocartella com di MSDN Library.

Metodi

Clone(UCOMIStream)

Crea un nuovo oggetto flusso con il proprio puntatore di posizionamento che fa riferimento agli stessi byte del flusso originale.

Commit(Int32)

Assicura che eventuali modifiche apportate a un oggetto flusso aperto in modalità di transazione siano riflesse nell'archivio padre.

CopyTo(UCOMIStream, Int64, IntPtr, IntPtr)

Copia un numero specificato di byte dal puntatore di posizionamento corrente nel flusso al puntatore di posizionamento corrente in un altro flusso.

LockRegion(Int64, Int64, Int32)

Limita l'accesso a un intervallo specificato di byte nel flusso.

Read(Byte[], Int32, IntPtr)

Legge un numero specificato di byte dall'oggetto flusso in memoria a partire dal puntatore di posizionamento corrente.

Revert()

Elimina tutte le modifiche apportate a un flusso sottoposto a transazione dall'ultima chiamata a Commit(Int32).

Seek(Int64, Int32, IntPtr)

Sposta il puntatore di posizionamento su un nuovo percorso relativo all'inizio del flusso, alla fine del flusso o al puntatore di posizionamento corrente.

SetSize(Int64)

Modifica la dimensione dell'oggetto flusso.

Stat(STATSTG, Int32)

Recupera la struttura STATSTG per il flusso.

UnlockRegion(Int64, Int64, Int32)

Rimuove le restrizioni di accesso su un intervallo di byte precedentemente limitato con LockRegion(Int64, Int64, Int32).

Write(Byte[], Int32, IntPtr)

Scrive un numero specificato di byte nell'oggetto flusso in memoria a partire dal puntatore di posizionamento corrente.

Si applica a