TextTemplatingCallback.SetFileExtension Method
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)
Syntax
'Declaration
Public Sub SetFileExtension ( _
extension As String _
)
public void SetFileExtension(
string extension
)
public:
virtual void SetFileExtension(
String^ extension
) sealed
abstract SetFileExtension :
extension:string -> unit
override SetFileExtension :
extension:string -> unit
public final function SetFileExtension(
extension : String
)
Parameters
- extension
Type: System.String
Implements
ITextTemplatingCallback.SetFileExtension(String)
.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.