Partilhar via


TemplateName Property

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

Gets the name of the DisplayTemplate to which the current instance belongs.

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

Syntax

'Declaration
Public ReadOnly Property TemplateName As String
'Usage
Dim instance As DisplayProperty
Dim value As String

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

Property Value

Type: System..::.String
Name of the DisplayTemplate to which the current instance belongs. Returns nullNothingnullptra null reference (Nothing in Visual Basic) if the DisplayProperty has not been added to any DisplayTemplate.

Remarks

Name of the DisplayTemplate to which this display property corresponds. This property will be nullNothingnullptra null reference (Nothing in Visual Basic) until this object is added to a Properties collection of some DisplayTemplate object.

Permissions

See Also

Reference

DisplayProperty Class

DisplayProperty Members

Microsoft.CommerceServer.Marketing Namespace