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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.