共用方式為


RegisterEditorExtensionAttribute.Extension Property

Gets the file extension of the file.

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

Syntax

'宣告
Public ReadOnly Property Extension As String
public string Extension { get; }

Property Value

Type: System.String
The file extension for this editor.

.NET Framework Security

See Also

Reference

RegisterEditorExtensionAttribute Class

Microsoft.VisualStudio.Shell Namespace