Initializes a new instance of ProvideLanguageEditorOptionPageAttribute for the specified page.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
)
public function ProvideLanguageEditorOptionPageAttribute(
pageType : Type,
languageName : String,
category : String,
pageName : String,
pageNameResourceId : String
)
Parameters
pageType
Type: System.TypeThe type of the option page.
languageName
Type: System.StringThe language name.
category
Type: System.StringThe option page category.
pageName
Type: System.StringThe caption of the option page.
pageNameResourceId
Type: System.StringThe resource ID of the page.
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.
See Also
Reference
ProvideLanguageEditorOptionPageAttribute Class