RemoveAt Method
Removes the object at the specified index of the current ExpressionRefCollection.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub RemoveAt ( _
index As Integer _
)
'Usage
Dim instance As ExpressionRefCollection
Dim index As Integer
instance.RemoveAt(index)
public void RemoveAt(
int index
)
public:
void RemoveAt(
int index
)
public function RemoveAt(
index : int
)
Parameters
- index
Type: System..::.Int32
The zero-based index of the object to remove. May not be less than zero.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is either less than zero or equal to or greater than the count of the collection. |
Remarks
Removes the object at the specified index of the current ExpressionRefCollection.
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
- 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.