Sets the characteristics of a properties page. Similar to the Win32 PROPSHEETPAGE structure.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)


The VSPROPSHEETPAGE type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fielddwFlagsFlags that indicate which options to use when creating the property sheet page.
Public fielddwReservedReserved for future use.
Public fielddwSizeSpecifies the size, in bytes, of the structure. The size includes any extra application-defined data at the end of the structure.
Public fielddwTemplateSizeUse dwTemplateSize when PSP_DLGINDIRECT is specified in dwFlags. Specifies the size of the template specified in the pTemplate field.
Public fieldHINSTANCEHandle to the instance from which to load a dialog template resource.
Public fieldhwndDlgIf you cannot pass a dialog template, set the HINSTANCE field to a null value and fill in this field instead. A page will then be created, and your hwnd will be attached to it. If you do this, do not use lParam for anything.
Public fieldlParamWhen the page is created, a copy of the page's VSPROPSHEETPAGE structure is passed to the dialog box procedure with a WM_INITDIALOG message. The lParam member is provided to allow you to pass application-specific information to the dialog box procedure. It has no effect on the page itself.
Public fieldpcRefParentAddress of the reference count value. To use this member, you must set the PSP_USEREFPARENT flag in the dwFlags member.
Public fieldpfnCallbackAddress of an application-defined callback function that is called when the page is created and when it is about to be destroyed. To use this member, you must set the PSP_USECALLBACK flag in the dwFlags member.
Public fieldpfnDlgProcAddress of the dialog box procedure for the page. Because the pages are created as modeless dialog boxes, the dialog box procedure must not call the EndDialog function.
Public fieldpTemplateDialog box template in memory to use to create the page. If the PSP_DLGINDIRECT flag in the dwFlags member is set, then pTemplate is used.
Public fieldwTemplateIdUsed to specify the resource identifier of your dialog template in the module identified by the handle in the HINSTANCE field when PSP_DLGINDIRECT is not specified in dwFlags.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft