ExpressionRefCollection Constructor
Initializes a new instance of the ExpressionRefCollection class.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Protected Friend Sub New ( _
parent As Discount _
)
'Usage
Dim parent As Discount
Dim instance As New ExpressionRefCollection(parent)
protected internal ExpressionRefCollection(
Discount parent
)
protected public:
ExpressionRefCollection(
Discount^ parent
)
protected internal function ExpressionRefCollection(
parent : Discount
)
Parameters
- parent
Type: Microsoft.CommerceServer.Marketing..::.Discount
The parent Discount object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The parent is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
Use this method to create a new instance of the ExpressionRefCollection class. The collection contains ExpressionRef objects which associates Expression objects with CampaignItem objects.
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.