共用方式為


Text Property

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

Gets or sets the text of the current DisplayTemplate object.

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

Syntax

'Declaration
Public Property Text As String
'Usage
Dim instance As DisplayTemplate
Dim value As String

value = instance.Text

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

Property Value

Type: System..::.String
The text of the DisplayTemplate. May be nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Content of the template (most likely in html format) with special substitution elements decorated in ‘{%’ and ‘%}’.

Permissions

See Also

Reference

DisplayTemplate Class

DisplayTemplate Members

Microsoft.CommerceServer.Marketing Namespace