Partager via


RegisterEditorExtensionAttribute.Extension Property

Gets the file extension of the file.

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

Syntax

'Déclaration
Public ReadOnly Property Extension As String
    Get
'Utilisation
Dim instance As RegisterEditorExtensionAttribute
Dim value As String

value = instance.Extension
public string Extension { get; }
public:
property String^ Extension {
    String^ get ();
}
member Extension : string
function get Extension () : String

Property Value

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

.NET Framework Security

See Also

Reference

RegisterEditorExtensionAttribute Class

RegisterEditorExtensionAttribute Members

Microsoft.VisualStudio.Shell Namespace