Partager via


Body Property

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

Gets or sets an Xml element representing the Expression.

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

Syntax

'Declaration
Public Property Body As XmlElement
'Usage
Dim instance As Expression
Dim value As XmlElement

value = instance.Body

instance.Body = value
public XmlElement Body { get; set; }
public:
property XmlElement^ Body {
    XmlElement^ get ();
    void set (XmlElement^ value);
}
public function get Body () : XmlElement
public function set Body (value : XmlElement)

Property Value

Type: System.Xml..::.XmlElement
An XmlElement representing the Expression.

Exceptions

Exception Condition
ArgumentNullException

The Expression Body provided is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

The XmlElement may not be longer than 3400 characters. The XML must be well-formed. The expression syntax is not validated when setting this property. It is validated before saving to the database.

Permissions

See Also

Reference

Expression Class

Expression Members

Microsoft.CommerceServer.Marketing Namespace