RegisterEditorExtensionAttribute::Priority Property

 

Gets the priority of this extension registration.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
property int Priority {
	int get();
}

Property Value

Type: System::Int32

The priority for this editor for its file extension.

For a given file extension, the editors with the highest priority number are given the chance to read a file first. If the editor fails to read the file, the remaining editors are used in order of priority.

Return to top
Show: