UCOMIPersistFile Arabirim

Tanım

Dikkat

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

Dikkat

Bu API artık kullanım dışıdır.

Bunun yerine IPersistFile kullanın.

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.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete]
[System.Runtime.InteropServices.Guid("0000010b-0000-0000-c000-000000000046")]
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
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete>]
[<System.Runtime.InteropServices.Guid("0000010b-0000-0000-c000-000000000046")>]
type UCOMIPersistFile = interface
Public Interface UCOMIPersistFile
Öznitelikler

Açıklamalar

Daha fazla bilgi için lütfen IPersistFile IPersist MSDN Kitaplığı 'nın com alt klasöründe ve için mevcut belgelere bakın.

Yöntemler

GetClassID(Guid)

Bir nesnenin sınıf tanımlayıcısını (CLSID) alır.

GetCurFile(String)

Nesnenin geçerli çalışma dosyasına mutlak yolu alır veya geçerli çalışma dosyası yoksa nesnenin varsayılan dosya adı istemi olur.

IsDirty()

Geçerli dosyasına son kaydedduğundan bu yana bir nesneyi değişiklikler için denetler.

Load(String, Int32)

Belirtilen dosyayı açar ve dosya içeriğinden bir nesne başlatır.

Save(String, Boolean)

Nesnenin bir kopyasını belirtilen dosyaya kaydeder.

SaveCompleted(String)

Nesnesine dosyasına yazabilmesini bildirir.

Şunlara uygulanır