ProvideLanguageExtensionAttribute.Extension Property
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
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public ReadOnly Property Extension As String
Get
'Usage
Dim instance As ProvideLanguageExtensionAttribute
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
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.
.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.
See Also
Reference
ProvideLanguageExtensionAttribute Class