Redigera

Dela via


IUpdatable.RemoveReferenceFromCollection(Object, String, Object) Method

Definition

Removes the specified value from the collection.

public:
 void RemoveReferenceFromCollection(System::Object ^ targetResource, System::String ^ propertyName, System::Object ^ resourceToBeRemoved);
public void RemoveReferenceFromCollection (object targetResource, string propertyName, object resourceToBeRemoved);
abstract member RemoveReferenceFromCollection : obj * string * obj -> unit
Public Sub RemoveReferenceFromCollection (targetResource As Object, propertyName As String, resourceToBeRemoved As Object)

Parameters

targetResource
Object

The target object that defines the property.

propertyName
String

The name of the property whose value needs to be updated.

resourceToBeRemoved
Object

The property value that needs to be removed.

Remarks

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.

Applies to