RegisterEditorExtensionAttribute.Priority Property

Gets the priority of this extension registration.

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

Syntax

'宣言
Public ReadOnly Property Priority As Integer
'使用
Dim instance As RegisterEditorExtensionAttribute
Dim value As Integer

value = instance.Priority
public int Priority { get; }
public:
property int Priority {
    int get ();
}
public function get Priority () : int

Property Value

Type: System.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.

Permissions

See Also

Reference

RegisterEditorExtensionAttribute Class

RegisterEditorExtensionAttribute Members

Microsoft.VisualStudio.Shell Namespace