UCOMIPersistFile 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.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202
Utilisez IPersistFile à la place.
public interface class UCOMIPersistFile
[System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIPersistFile
[System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIPersistFile
[<System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIPersistFile = interface
[<System.Runtime.InteropServices.Guid("0000010b-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IPersistFile instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMIPersistFile = interface
Public Interface UCOMIPersistFile
- Attributs
Remarques
Pour plus d’informations, consultez la documentation existante pour IPersistFile et IPersist dans le sous-dossier com de la bibliothèque MSDN.
Méthodes
| Nom | Description |
|---|---|
| GetClassID(Guid) |
Obsolète.
Récupère l’identificateur de classe (CLSID) d’un objet. |
| GetCurFile(String) |
Obsolète.
Récupère le chemin absolu du fichier de travail actuel de l’objet, ou s’il n’existe aucun fichier de travail actuel, l’invite de nom de fichier par défaut de l’objet. |
| IsDirty() |
Obsolète.
Vérifie un objet pour les modifications depuis son dernier enregistrement dans son fichier actuel. |
| Load(String, Int32) |
Obsolète.
Ouvre le fichier spécifié et initialise un objet à partir du contenu du fichier. |
| Save(String, Boolean) |
Obsolète.
Enregistre une copie de l’objet dans le fichier spécifié. |
| SaveCompleted(String) |
Obsolète.
Avertit l’objet qu’il peut écrire dans son fichier. |