Share via


BaseTemplatedCodeGenerator.GetDefaultExtension Method

Get the extension of the file that should be created

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)

Syntax

'Declaration
Public Overrides Function GetDefaultExtension As String
public override string GetDefaultExtension()
public:
virtual String^ GetDefaultExtension() override
abstract GetDefaultExtension : unit -> string  
override GetDefaultExtension : unit -> string
public override function GetDefaultExtension() : String

Return Value

Type: String

Remarks

This is called after generate and this behavior is relied upon as templates specify the extension in their input file

.NET Framework Security

See Also

Reference

BaseTemplatedCodeGenerator Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace