語言

IPropertySheetCallback 介面

定義

將 snap-in 的屬性頁面加入屬性表。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public interface class IPropertySheetCallback
[System.Runtime.InteropServices.Guid("85DE64DD-EF21-11cf-A285-00C04FD8DBE6")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IPropertySheetCallback
[<System.Runtime.InteropServices.Guid("85DE64DD-EF21-11cf-A285-00C04FD8DBE6")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IPropertySheetCallback = interface
Public Interface IPropertySheetCallback
屬性

備註

該方法會 CreatePropertyPages(IPropertySheetCallback, IntPtr, IDataObject) 傳遞指向此 IPropertySheetCallback 介面的指標,以便 snap-in 能新增或移除屬性頁面。

欲了解更多使用 IPropertySheetCallback 介面及 Microsoft Management Console(MMC)程式設計的資訊,請參閱 MMC 程式設計師指南。

方法

名稱 Description
AddPage(IntPtr)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

在屬性表上新增一頁。

RemovePage(IntPtr)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

從屬性表中移除頁面。

適用於