Package.GetDialogPage(Type) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the requested dialog page.
public:
Microsoft::VisualStudio::Shell::DialogPage ^ GetDialogPage(Type ^ dialogPageType);
public Microsoft.VisualStudio.Shell.DialogPage GetDialogPage(Type dialogPageType);
member this.GetDialogPage : Type -> Microsoft.VisualStudio.Shell.DialogPage
Public Function GetDialogPage (dialogPageType As Type) As DialogPage
- dialogPageType
- Type
The type of dialog page to retrieve.
An instance of the requested page.
dialogPageType
is null
.
dialogPageType
is not derived from DialogPage.
dialogPageType
does not have a public constructor.
This method returns the requested dialog page. Dialog pages are cached so that only a single instance of their state is preserved. The page is dynamically created if it is not in the cache.
Produit | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |