ProvideEditorExtensionAttribute.Extension Property

Gets the file extension associated with this editor.

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

Syntax

'宣言
Public ReadOnly Property Extension As String
'使用
Dim instance As ProvideEditorExtensionAttribute
Dim value As String

value = instance.Extension
public string Extension { get; }
public:
property String^ Extension {
    String^ get ();
}
public 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.

Permissions

See Also

Reference

ProvideEditorExtensionAttribute Class

ProvideEditorExtensionAttribute Members

Microsoft.VisualStudio.Shell Namespace