ICom2PropertyPageDisplayService.ShowPropertyPage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
顯示指定物件的屬性頁面。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
void ShowPropertyPage(System::String ^ title, System::Object ^ component, int dispid, Guid pageGuid, IntPtr parentHandle);
public void ShowPropertyPage(string title, object component, int dispid, Guid pageGuid, IntPtr parentHandle);
abstract member ShowPropertyPage : string * obj * int * Guid * nativeint -> unit
Public Sub ShowPropertyPage (title As String, component As Object, dispid As Integer, pageGuid As Guid, parentHandle As IntPtr)
參數
- title
- String
一個字串,就是該物業頁面的標題。
- component
- Object
建立屬性頁面的物件。
- dispid
- Int32
在建立物業頁面時,標示出的屬性 DispID。
- pageGuid
- Guid
屬性頁面的 GUID。
- parentHandle
-
IntPtr
nativeint
一個 IntPtr,是屬性頁面父控制項的帳柄。