TemplateName Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the Display Template name of the current instance.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property TemplateName As String
'Usage
Dim instance As DisplayableCampaignItem
Dim value As String

value = instance.TemplateName

instance.TemplateName = value
public string TemplateName { get; set; }
public:
property String^ TemplateName {
    String^ get ();
    void set (String^ value);
}
public function get TemplateName () : String
public function set TemplateName (value : String)

Property Value

Type: System..::.String
The Display Template name of the current instance.

Remarks

A name of display template used to display this Campaign item. Default is nullNothingnullptra null reference (Nothing in Visual Basic).

Examples

Returns a name of the display template used to display this Campaign item. For example the TemplateName could be "No Display".

Permissions

See Also

Reference

DisplayableCampaignItem Class

DisplayableCampaignItem Members

Microsoft.CommerceServer.Marketing Namespace