Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the requested dialog page.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Protected Function GetDialogPage ( _
dialogPageType As Type _
) As DialogPage
protected DialogPage GetDialogPage(
Type dialogPageType
)
protected:
DialogPage^ GetDialogPage(
Type^ dialogPageType
)
member GetDialogPage :
dialogPageType:Type -> DialogPage
protected function GetDialogPage(
dialogPageType : Type
) : DialogPage
Parameters
dialogPageType
Type: System.TypeThe type of dialog page to retrieve.
Return Value
Type: Microsoft.VisualStudio.Shell.DialogPage
An instance of the requested page.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | dialogPageType is nulla null reference (Nothing in Visual Basic). |
| ArgumentException |
|
Remarks
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.
.NET Framework Security
- 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.