UCOMIStream Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
Use System.Runtime.InteropServices.ComTypes.IStream instead. http://go.microsoft.com/fwlink/?linkid=14202
Utilisez IStream à la place.
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.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
Public Interface UCOMIStream
- Attributs
Remarques
Pour plus d’informations, consultez la documentation existante pour IStream et ISequentialStream dans le sous-dossier com de la bibliothèque MSDN.
Méthodes
| Nom | Description |
|---|---|
| Clone(UCOMIStream) |
Obsolète.
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) |
Obsolète.
Garantit que les modifications apportées à un objet de flux ouvert en mode transactionné sont reflétées dans le stockage parent. |
| CopyTo(UCOMIStream, Int64, IntPtr, IntPtr) |
Obsolète.
Copie un nombre spécifié d’octets du pointeur de recherche actuel dans le flux vers le pointeur de recherche actuel dans un autre flux. |
| LockRegion(Int64, Int64, Int32) |
Obsolète.
Limite l’accès à une plage d’octets spécifiée dans le flux. |
| Read(Byte[], Int32, IntPtr) |
Obsolète.
Lit un nombre spécifié d’octets de l’objet de flux en mémoire à partir du pointeur de recherche actuel. |
| Revert() |
Obsolète.
Ignore toutes les modifications apportées à un flux transactionné depuis le dernier Commit(Int32) appel. |
| Seek(Int64, Int32, IntPtr) |
Obsolète.
Modifie le pointeur de recherche vers un nouvel emplacement par rapport au début du flux, à la fin du flux ou au pointeur de recherche actuel. |
| SetSize(Int64) |
Obsolète.
Modifie la taille de l’objet de flux. |
| Stat(STATSTG, Int32) |
Obsolète.
Récupère la STATSTG structure de ce flux. |
| UnlockRegion(Int64, Int64, Int32) |
Obsolète.
Supprime la restriction d’accès sur une plage d’octets précédemment restreinte avec LockRegion(Int64, Int64, Int32). |
| Write(Byte[], Int32, IntPtr) |
Obsolète.
Écrit un nombre spécifié d’octets dans l’objet de flux à partir du pointeur de recherche actuel. |