Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the specified ItemField object from the ItemFieldDictionary collection.
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
Syntax
'Declaration
Public Function Remove ( _
item As KeyValuePair(Of UInteger, ItemField) _
) As Boolean
'Usage
Dim instance As ItemFieldDictionary
Dim item As KeyValuePair(Of UInteger, ItemField)
Dim returnValue As Boolean
returnValue = instance.Remove(item)
public bool Remove(
KeyValuePair<uint, ItemField> item
)
public:
virtual bool Remove(
KeyValuePair<unsigned int, ItemField^> item
) sealed
abstract Remove :
item:KeyValuePair<uint32, ItemField> -> bool
override Remove :
item:KeyValuePair<uint32, ItemField> -> bool
public final function Remove(
item : KeyValuePair<uint, ItemField>
) : boolean
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<UInt32, ItemField>
The ItemField object to remove from the ItemFieldDictionary collection.
Return Value
Type: System.Boolean
true if the ItemField object was successfully removed from the ItemFieldDictionary collection; otherwise false.
Implements
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The value of the key/value pair in item is null reference (Nothing in Visual Basic). |
| ArgumentException | The key in item is different than the field id for the value in item. |