Subtract Method
Removes users in the specified StaticList from the StaticList object
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Function Subtract ( _
list As StaticList _
) As Guid
'Usage
Dim instance As StaticList
Dim list As StaticList
Dim returnValue As Guid
returnValue = instance.Subtract(list)
public Guid Subtract(
StaticList list
)
public:
Guid Subtract(
StaticList^ list
)
public function Subtract(
list : StaticList
) : Guid
Parameters
- list
Type: Microsoft.CommerceServer.Marketing..::.StaticList
A StaticList containing the users that will be removed from this object.
Return Value
Type: System..::.Guid
The Id of the subtract operation performed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | list is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
The StaticList will consist of the existing list less the specified users.
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.