Initializes a property page and provides the property page object with the Initializes a property page and provides the property page object with the IPropertyPageSite interface through which the property page communicates with the property frame.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub SetPageSite ( _
theSite As IPropertyPageSite _
)
'使用
Dim instance As SettingsPage
Dim theSite As IPropertyPageSite
instance.SetPageSite(theSite)
public virtual void SetPageSite(
IPropertyPageSite theSite
)
public:
virtual void SetPageSite(
IPropertyPageSite^ theSite
)
public function SetPageSite(
theSite : IPropertyPageSite
)
Parameters
theSite
Type: Microsoft.VisualStudio.OLE.Interop.IPropertyPageSiteThe IPropertyPageSite to use.
Implements
IPropertyPage.SetPageSite(IPropertyPageSite)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.