UCOMIPersistFile Antarmuka

Definisi

Perhatian

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

Gunakan IPersistFile sebagai gantinya.

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
Atribut

Keterangan

Untuk informasi selengkapnya, silakan lihat dokumentasi yang ada untuk IPersistFile dan IPersist di subfolder com pustaka MSDN.

Metode

GetClassID(Guid)
Kedaluwarsa.

Mengambil pengidentifikasi kelas (CLSID) objek.

GetCurFile(String)
Kedaluwarsa.

Mengambil jalur absolut ke file kerja objek saat ini, atau jika tidak ada file kerja saat ini, perintah nama file default objek.

IsDirty()
Kedaluwarsa.

Memeriksa perubahan objek sejak terakhir disimpan ke file saat ini.

Load(String, Int32)
Kedaluwarsa.

Membuka file yang ditentukan dan menginisialisasi objek dari isi file.

Save(String, Boolean)
Kedaluwarsa.

Menyimpan salinan objek ke dalam file yang ditentukan.

SaveCompleted(String)
Kedaluwarsa.

Memberi tahu objek bahwa ia dapat menulis ke filenya.

Berlaku untuk