ProvideLanguageEditorOptionPageAttribute Constructor
Initializes a new instance of ProvideLanguageEditorOptionPageAttribute for the specified page.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Public Sub New ( _
pageType As Type, _
languageName As String, _
category As String, _
pageName As String, _
pageNameResourceId As String _
)
用法
Dim pageType As Type
Dim languageName As String
Dim category As String
Dim pageName As String
Dim pageNameResourceId As String
Dim instance As New ProvideLanguageEditorOptionPageAttribute(pageType, _
languageName, category, pageName, _
pageNameResourceId)
public ProvideLanguageEditorOptionPageAttribute(
Type pageType,
string languageName,
string category,
string pageName,
string pageNameResourceId
)
public:
ProvideLanguageEditorOptionPageAttribute(
Type^ pageType,
String^ languageName,
String^ category,
String^ pageName,
String^ pageNameResourceId
)
new :
pageType:Type *
languageName:string *
category:string *
pageName:string *
pageNameResourceId:string -> ProvideLanguageEditorOptionPageAttribute
public function ProvideLanguageEditorOptionPageAttribute(
pageType : Type,
languageName : String,
category : String,
pageName : String,
pageNameResourceId : String
)
Parameters
- pageType
Type: System.Type
The type of the option page.
- languageName
Type: System.String
The language name.
- category
Type: System.String
The option page category.
- pageName
Type: System.String
The caption of the option page.
- pageNameResourceId
Type: System.String
The 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
ProvideLanguageEditorOptionPageAttribute Class