ProvideEditorExtensionAttribute.Priority Property

Definition

Gets the editor's priority as set in the constructor.

public:
 property int Priority { int get(); };
public:
 property int Priority { int get(); };
public int Priority { get; }
member this.Priority : int
Public ReadOnly Property Priority As Integer

Property Value

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.

The value of Priority is set in the constructor ProvideEditorExtensionAttribute.

Applies to