UCOMIPersistFile Interfejs

Definicja

Przestroga

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

Zamiast tego użyj polecenia cmdlet IPersistFile.

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
Atrybuty

Uwagi

Aby uzyskać więcej informacji, zobacz istniejącą dokumentację dotyczącą IPersistFile biblioteki MSDN i IPersist w podfolderze com biblioteki MSDN.

Metody

GetClassID(Guid)
Przestarzałe.

Pobiera identyfikator klasy (CLSID) obiektu.

GetCurFile(String)
Przestarzałe.

Pobiera ścieżkę bezwzględną do bieżącego pliku roboczego obiektu lub jeśli nie ma bieżącego pliku roboczego, domyślny monit o nazwę pliku obiektu.

IsDirty()
Przestarzałe.

Sprawdza obiekt pod kątem zmian, ponieważ został ostatnio zapisany w bieżącym pliku.

Load(String, Int32)
Przestarzałe.

Otwiera określony plik i inicjuje obiekt z zawartości pliku.

Save(String, Boolean)
Przestarzałe.

Zapisuje kopię obiektu w określonym pliku.

SaveCompleted(String)
Przestarzałe.

Powiadamia obiekt, że może zapisywać go w pliku.

Dotyczy