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)
'Declaration
Sub RemoveReferenceFromCollection ( _
	targetResource As Object, _
	propertyName As String, _
	resourceToBeRemoved As Object _
)
'Usage
Dim instance As IUpdatable 
Dim targetResource As Object 
Dim propertyName As String 
Dim resourceToBeRemoved As Object

instance.RemoveReferenceFromCollection(targetResource, _
	propertyName, 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.

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