RegisterLanguageExtensionAttribute Constructor (String, String)
Initializes a new instance of RegisterLanguageExtensionAttribute.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaración
Public Sub New ( _
languageServiceGuid As String, _
extension As String _
)
'Uso
Dim languageServiceGuid As String
Dim extension As String
Dim instance As New RegisterLanguageExtensionAttribute(languageServiceGuid, _
extension)
public RegisterLanguageExtensionAttribute(
string languageServiceGuid,
string extension
)
public:
RegisterLanguageExtensionAttribute(
String^ languageServiceGuid,
String^ extension
)
new :
languageServiceGuid:string *
extension:string -> RegisterLanguageExtensionAttribute
public function RegisterLanguageExtensionAttribute(
languageServiceGuid : String,
extension : String
)
Parameters
- languageServiceGuid
Type: System.String
The GUID of language service class that is derived from LanguageService as a string.
- extension
Type: System.String
The file extension associated with the language service. Include a "." in the value of extension.
.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
RegisterLanguageExtensionAttribute Class
RegisterLanguageExtensionAttribute Members