ExpansionProvider::PrepareTemplate Method (String^, String^)

 

Prepares for insertion of the specified snippet.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void PrepareTemplate(
	String^ title,
	String^ path
)

Parameters

title
Type: System::String^

[in] A string containing the name of the snippet to insert.

path
Type: System::String^

[in] A string containing the path to the snippet template file.

This method is called by Visual Studio to establish the snippet to be inserted.

The base method caches the snippet name and path and sets a flag indicating preparations are complete.

Return to top
Show: