IDataModelScriptTemplateEnumerator interface (dbgmodel.h)
An enumerator which enumerates an available set of script templates.
An enumerator interface that the script provider implements in order to advertise all the various templates it supports.
Inheritance
IDataModelScriptTemplateEnumerator inherits from IUnknown.
Methods
The IDataModelScriptTemplateEnumerator interface has these methods.
IDataModelScriptTemplateEnumerator::AddRef The IDataModelScriptTemplateEnumerator::AddRef method increments the reference count for an interface on an object. |
IDataModelScriptTemplateEnumerator::GetNext The GetNext method moves the enumerator to the next template and returns it. |
IDataModelScriptTemplateEnumerator::QueryInterface The IDataModelScriptTemplateEnumerator::QueryInterface method retrieves pointers to the supported interfaces on an object. |
IDataModelScriptTemplateEnumerator::Release The IDataModelScriptTemplateEnumerator::Release method decrements the reference count for an interface on an object. |
IDataModelScriptTemplateEnumerator::Reset The Reset method resets the enumerator to the position it was at when it was first created -- before the first template produced. |
Remarks
A script provider can provide one or more templates which pre-fill content into newly created scripts in some user interface. If any of these templates are provided, the script provider must implement an enumerator over them which is returned upon a call to the EnumerateTemplates method.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |