IUpdatable.RemoveReferenceFromCollection Method (Object, String, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the specified value from the collection.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.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.

.NET Framework
Available since 3.5
Return to top
Show: