Solution3.GetProjectItemTemplates(String, String) Method

Definition

Returns a collection of project item templates for the specified project.

public:
 EnvDTE90::Templates ^ GetProjectItemTemplates(System::String ^ Language, System::String ^ CustomDataSignature);
[System.Runtime.InteropServices.DispId(205)]
public EnvDTE90.Templates GetProjectItemTemplates (string Language, string CustomDataSignature);
[<System.Runtime.InteropServices.DispId(205)>]
abstract member GetProjectItemTemplates : string * string -> EnvDTE90.Templates
Public Function GetProjectItemTemplates (Language As String, CustomDataSignature As String) As Templates

Parameters

Language
String

The language used to write the project item template.

CustomDataSignature
String

The signature for any metadata associated with the project item template.

Returns

A templates collection containing the names of all of the project item templates.

Attributes

Remarks

Project templates are stored as zip files. This method asks for the project by name and language and returns the path to the template.

Applies to