Dela via


EditorFactory.GetUserDefinedEditor Method

Gets the GUID of the editor that the user has defined for this file extension.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Function GetUserDefinedEditor ( _
    extension As String _
) As Guid
public Guid GetUserDefinedEditor(
    string extension
)
public:
Guid GetUserDefinedEditor(
    String^ extension
)
member GetUserDefinedEditor : 
        extension:string -> Guid
public function GetUserDefinedEditor(
    extension : String
) : Guid

Parameters

  • extension
    Type: String

    The extension for which to get the editor.

Return Value

Type: Guid
The GUID of the editor, or an empty GUID if none is found

.NET Framework Security

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.Package Namespace