Dela via


ProvideEditorExtensionAttribute.Extension Property

Gets the file extension associated with this editor.

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

Syntax

'Declaration
Public ReadOnly Property Extension As String
public string Extension { get; }
public:
property String^ Extension {
    String^ get ();
}
member Extension : string with get
function get Extension () : String

Property Value

Type: String
The file extension for this editor.

Remarks

The value of Extension is set in the constructor ProvideEditorExtensionAttribute.

.NET Framework Security

See Also

Reference

ProvideEditorExtensionAttribute Class

Microsoft.VisualStudio.Shell Namespace