EditorFactory::IsOurFileFormat Method (String^)

 

Checks whether there is an editor that can handle this extension.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual bool IsOurFileFormat(
	String^ moniker
)

Parameters

moniker
Type: System::String^

The extension for which an editor is desired.

Return Value

Type: System::Boolean

By default returns true. Implementations should override this method to handle their own file formats.

Notes to Inheritors:

This method is called when the user has not explicitly requested a known editor, the file extension does not match a registered extension, and the wildcard extension "*" has been registered. Return true if there is a registered editor, otherwise false. Visual Studio will find the next best editor in the list.

Return to top
Show: