GetDisplaySize Method (Int32)

Retrieves an existing DisplaySize, as identified by the unique identifier.

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

Syntax

'Declaration
Public Function GetDisplaySize ( _
    displaySizeId As Integer _
) As DisplaySize
'Usage
Dim instance As DisplaySizeManager
Dim displaySizeId As Integer
Dim returnValue As DisplaySize

returnValue = instance.GetDisplaySize(displaySizeId)
public DisplaySize GetDisplaySize(
    int displaySizeId
)
public:
DisplaySize^ GetDisplaySize(
    int displaySizeId
)
public function GetDisplaySize(
    displaySizeId : int
) : DisplaySize

Parameters

Return Value

Type: Microsoft.CommerceServer.Marketing..::.DisplaySize
The DisplaySize retrieved from the database.

Exceptions

Exception Condition
ArgumentOutOfRangeException

customerId was less than 1.

EntityDoesNotExistException

The requested DisplaySize does not exist.

Remarks

Use this method to retrieve a specific DisplaySize object from the database.

Permissions

See Also

Reference

DisplaySizeManager Class

DisplaySizeManager Members

GetDisplaySize Overload

Microsoft.CommerceServer.Marketing Namespace