Partager via


Height Property

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

Gets or sets the Height of the current DisplaySize object.

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

Syntax

'Declaration
Public Property Height As Short
'Usage
Dim instance As DisplaySize
Dim value As Short

value = instance.Height

instance.Height = value
public short Height { get; set; }
public:
property short Height {
    short get ();
    void set (short value);
}
public function get Height () : short
public function set Height (value : short)

Property Value

Type: System..::.Int16
The Height of the DisplaySize.

Exceptions

Exception Condition
MinimumValueValidationException

An attempt was made to set the Height to a negative value.

Remarks

Height in pixels. When the object is saved, this property may remain 0.

Permissions

See Also

Reference

DisplaySize Class

DisplaySize Members

Microsoft.CommerceServer.Marketing Namespace