EditorFactory.IsOurFileFormat(String) Method

Definition

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

public:
 virtual bool IsOurFileFormat(System::String ^ moniker);
public:
 virtual bool IsOurFileFormat(Platform::String ^ moniker);
 virtual bool IsOurFileFormat(std::wstring const & moniker);
public virtual bool IsOurFileFormat (string moniker);
abstract member IsOurFileFormat : string -> bool
override this.IsOurFileFormat : string -> bool
Public Overridable Function IsOurFileFormat (moniker As String) As Boolean

Parameters

moniker
String

The extension for which an editor is desired.

Returns

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.

Applies to