UCOMIPersistFile Arabirim

Tanım

Dikkat

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

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.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
Öznitelikler

Açıklamalar

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

Yöntemler

GetClassID(Guid)
Geçersiz.

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

GetCurFile(String)
Geçersiz.

Nesnenin geçerli çalışma dosyasının mutlak yolunu veya geçerli çalışma dosyası yoksa, nesnenin varsayılan dosya adı istemini alır.

IsDirty()
Geçersiz.

Bir nesneyi, geçerli dosyasına en son kaydedildiği tarihten bu yana yapılan değişiklikleri denetler.

Load(String, Int32)
Geçersiz.

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

Save(String, Boolean)
Geçersiz.

Nesnenin bir kopyasını belirtilen dosyaya kaydeder.

SaveCompleted(String)
Geçersiz.

Nesnesine dosyasına yazabileceğini bildirir.

Şunlara uygulanır