다음을 통해 공유


ProvideEditorExtensionAttribute.Priority Property

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

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public ReadOnly Property Priority As Integer
    Get
‘사용 방법
Dim instance As ProvideEditorExtensionAttribute
Dim value As Integer

value = instance.Priority
public int Priority { get; }
public:
property int Priority {
    int get ();
}
member Priority : int
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.

The value of Priority is set in the constructor ProvideEditorExtensionAttribute.

.NET Framework Security

See Also

Reference

ProvideEditorExtensionAttribute Class

ProvideEditorExtensionAttribute Members

Microsoft.VisualStudio.Shell Namespace