共用方式為


ProvideEditorExtensionAttribute.Extension Property

Gets the file extension associated with this editor.

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

Syntax

'宣告
Public ReadOnly Property Extension As String
    Get
'用途
Dim instance As ProvideEditorExtensionAttribute
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.

Remarks

The value of Extension is set in the constructor ProvideEditorExtensionAttribute.

.NET Framework Security

See Also

Reference

ProvideEditorExtensionAttribute Class

ProvideEditorExtensionAttribute Members

Microsoft.VisualStudio.Shell Namespace