Partager via


GetPageInfo Method

Returns information about a custom property page.

expression**.GetPageInfo(HelpFile**, HelpContext)

*expression    * Required. An expression that returns a PropertyPage object.

HelpFile    Required String. Specifies the Help file associated with the property page.

HelpContext    Required Long. Specifies the context ID of the Help topic associated with the property page.

Example

This Microsoft Visual Basic/Visual Basic for Applications (VBA) example returns the name of the Help file and the context ID of the topic to be displayed.

Private Sub PropertyPage_GetPageInfo(HelpFile As String, HelpContext As Long)
    HelpFile = "ProjPage.chm"
    HelpContext = IDH_PageInfo
End Sub

Applies to | PropertyPage Object