IUpdatable::RemoveReferenceFromCollection Method (Object^, String^, Object^)

 

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: