NewDisplayTemplate Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Creates a new DisplayTemplate with default values.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Function NewDisplayTemplate As DisplayTemplate
'Usage
Dim instance As DisplayTemplateManager
Dim returnValue As DisplayTemplate
returnValue = instance.NewDisplayTemplate()
public DisplayTemplate NewDisplayTemplate()
public:
DisplayTemplate^ NewDisplayTemplate()
public function NewDisplayTemplate() : DisplayTemplate
Return Value
Type: Microsoft.CommerceServer.Marketing..::.DisplayTemplate
The newly created DisplayTemplate object.
Remarks
Creates a new DisplayTemplate object. The newly created DisplayTemplate is not persisted in the database until Save is called.
Permissions
- 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.