ProvideOptionDialogPageAttribute Constructor
Initializes a new instance of ProvideOptionDialogPageAttribute for the specified page.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
pageType As Type, _
pageNameResourceId As String _
)
'Utilisation
Dim pageType As Type
Dim pageNameResourceId As String
Dim instance As New ProvideOptionDialogPageAttribute(pageType, _
pageNameResourceId)
public ProvideOptionDialogPageAttribute(
Type pageType,
string pageNameResourceId
)
public:
ProvideOptionDialogPageAttribute(
Type^ pageType,
String^ pageNameResourceId
)
new :
pageType:Type *
pageNameResourceId:string -> ProvideOptionDialogPageAttribute
public function ProvideOptionDialogPageAttribute(
pageType : Type,
pageNameResourceId : String
)
Parameters
- pageType
Type: System.Type
The type of the page.
- pageNameResourceId
Type: System.String
The name resource ID of the page.
.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.
See Also
Reference
ProvideOptionDialogPageAttribute Class