Partager via


Remove Method

Removes the first occurrence of the specified ExpressionRef from the current ExpressionRefCollection.

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

Syntax

'Declaration
Public Sub Remove ( _
    expressionRef As ExpressionRef _
)
'Usage
Dim instance As ExpressionRefCollection
Dim expressionRef As ExpressionRef

instance.Remove(expressionRef)
public void Remove(
    ExpressionRef expressionRef
)
public:
void Remove(
    ExpressionRef^ expressionRef
)
public function Remove(
    expressionRef : ExpressionRef
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

expressionRef is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Removes the first occurrence of the specified ExpressionRef from the collection. When an ExpressionRef is removed from the collection, all subsequent ExpressionRef objects move up one index in the collection and the collection count is decremented.

Permissions

See Also

Reference

ExpressionRefCollection Class

ExpressionRefCollection Members

Microsoft.CommerceServer.Marketing Namespace