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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.