EditorFactory.GetUserDefinedEditor Method
Gets the GUID of the editor that the user has defined for this file extension.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Function GetUserDefinedEditor ( _
extension As String _
) As Guid
'Usage
Dim instance As EditorFactory
Dim extension As String
Dim returnValue As Guid
returnValue = instance.GetUserDefinedEditor(extension)
public Guid GetUserDefinedEditor(
string extension
)
public:
Guid GetUserDefinedEditor(
String^ extension
)
public function GetUserDefinedEditor(
extension : String
) : Guid
Parameters
extension
Type: System.StringThe extension for which to get the editor.
Return Value
Type: System.Guid
The GUID of the editor, or an empty GUID if none is found
.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.