This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns the associated file extension.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public ReadOnly Property Extension As String
'使用
Dim instance As ProvideLanguageExtensionAttribute
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
Returns the string containing the file extension that was passed to the constructor of the ProvideLanguageExtensionAttribute class.
Remarks
This property is not normally used outside the class.
Permissions
- 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.
See Also
Reference
ProvideLanguageExtensionAttribute Class