RegisterEditorExtensionAttribute.Priority Property

Gets the priority of this extension registration.

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

Syntax

'Declaration
Public ReadOnly Property Priority As Integer
public int Priority { get; }
public:
property int Priority {
    int get ();
}
member Priority : int with get
function get Priority () : int

Property Value

Type: Int32
The priority for this editor for its file extension.

Remarks

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.

.NET Framework Security

See Also

Reference

RegisterEditorExtensionAttribute Class

Microsoft.VisualStudio.Shell Namespace