EditorFactory.GetRegisteredEditorInfo(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.