Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IUpdatable.RemoveReferenceFromCollection Method

Removes the specified value from the collection.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Sub RemoveReferenceFromCollection ( _
	targetResource As Object, _
	propertyName As String, _
	resourceToBeRemoved As Object _
Dim instance As IUpdatable 
Dim targetResource As Object 
Dim propertyName As String 
Dim resourceToBeRemoved As Object

instance.RemoveReferenceFromCollection(targetResource, _
	propertyName, resourceToBeRemoved)


Type: System.Object
The target object that defines the property.
Type: System.String
The name of the property whose value needs to be updated.
Type: System.Object
The property value that needs to be removed.

Removes the specified resource from the collection identified by a navigation property on the target object. This operation deletes the relationship between the two resource objects bound by the relationship.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.