Udostępnij za pośrednictwem


ProvideEditorExtensionAttribute.Extension Property

Gets the file extension associated with this editor.

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

Syntax

'Declaration
Public ReadOnly Property Extension As String
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.

Remarks

The value of Extension is set in the constructor ProvideEditorExtensionAttribute.

.NET Framework Security

See Also

Reference

ProvideEditorExtensionAttribute Class

Microsoft.VisualStudio.Shell Namespace