Freigeben über


EditorFactory.GetRegisteredEditorInfo(String) Method

Definition

Returns the guid of the highest priority editor registered for this extension. This will also pick up user defined file extension to editor associations. You can then access all registered editors via the .Next property.

public:
 virtual Microsoft::VisualStudio::Package::EditorFactory::EditorInfo ^ GetRegisteredEditorInfo(System::String ^ extension);
 virtual Microsoft::VisualStudio::Package::EditorFactory::EditorInfo GetRegisteredEditorInfo(std::wstring const & extension);
public virtual Microsoft.VisualStudio.Package.EditorFactory.EditorInfo GetRegisteredEditorInfo (string extension);
abstract member GetRegisteredEditorInfo : string -> Microsoft.VisualStudio.Package.EditorFactory.EditorInfo
override this.GetRegisteredEditorInfo : string -> Microsoft.VisualStudio.Package.EditorFactory.EditorInfo
Public Overridable Function GetRegisteredEditorInfo (extension As String) As EditorFactory.EditorInfo

Parameters

extension
String

The extension for which to get the editor information

Returns

The EditorFactory.EditorInfo registered for the given extension.

Applies to