[This is preliminary documentation and is subject to change.]

Get all instances of Template from the database

Namespace:  OfficeClip.DBLayer.Template
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public TemplateInfo[] GetTemplateList(
	Category category,
	TemplateType templateType,
	int userId,
	int groupId
)
Visual Basic (Declaration)
Public Function GetTemplateList ( _
	category As Category, _
	templateType As TemplateType, _
	userId As Integer, _
	groupId As Integer _
) As TemplateInfo()
Visual C++
public:
array<TemplateInfo^>^ GetTemplateList(
	Category category, 
	TemplateType templateType, 
	int userId, 
	int groupId
)

Parameters

category
Type: OfficeClip.BusinessLayer.Template..::.Category
The category of the template
templateType
Type: OfficeClip.BusinessLayer.Template..::.TemplateType
The type of the template
userId
Type: System..::.Int32
The unique id of the user
groupId
Type: System..::.Int32
The unique id of the group

Return Value

The TemplateInfo information structure, null if the Template is not found

See Also