UCOMIStream Interface

Définition

Attention

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

Attention

Cette API est à présent déconseillée.

Utilisez plutôt 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
Attributs

Remarques

Pour plus d’informations, consultez la documentation existante pour IStream et ISequentialStream dans le sous-dossier com de MSDN Library.

Méthodes

Clone(UCOMIStream)

Crée un objet de flux avec son propre pointeur de recherche qui référence les mêmes octets que le flux d'origine.

Commit(Int32)

S'assure que toute modification effectuée sur un objet de flux ouvert en mode traité est réfléchie dans le stockage parent.

CopyTo(UCOMIStream, Int64, IntPtr, IntPtr)

Copie un nombre spécifié d'octets à partir du pointeur de recherche actuel d'un flux vers le pointeur de recherche actuel d'un autre flux.

LockRegion(Int64, Int64, Int32)

Limite l'accès à une plage d'octets spécifiée dans le flux.

Read(Byte[], Int32, IntPtr)

Lit un nombre spécifié d'octets à partir de l'objet de flux dans la mémoire en commençant au niveau du pointeur de recherche actuel.

Revert()

Ignore toutes les modifications apportées à un flux transactionnel depuis le dernier appel de Commit(Int32).

Seek(Int64, Int32, IntPtr)

Modifie le pointeur de recherche vers un nouvel emplacement relatif au début du flux, à la fin du flux, ou au pointeur de recherche actuel.

SetSize(Int64)

Modifie la taille de l'objet de flux.

Stat(STATSTG, Int32)

Récupère la structure STATSTG pour ce flux.

UnlockRegion(Int64, Int64, Int32)

Supprime les restrictions d'accès à une plage d'octets dont l'accès a été limité au préalable à l'aide de LockRegion(Int64, Int64, Int32).

Write(Byte[], Int32, IntPtr)

Écrit un nombre spécifié d'octets dans l'objet de flux en démarrant au niveau du pointeur de recherche actuel.

S’applique à