Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IUpdatable.RemoveReferenceFromCollection Method

Removes the specified value from the collection.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

void RemoveReferenceFromCollection(
	Object targetResource,
	string propertyName,
	Object resourceToBeRemoved
)

Parameters

targetResource
Type: System.Object
The target object that defines the property.
propertyName
Type: System.String
The name of the property whose value needs to be updated.
resourceToBeRemoved
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.

Show:
© 2015 Microsoft