Bewerken

Delen via


IUpdatable.AddReferenceToCollection(Object, String, Object) Method

Definition

Adds the specified value to the collection.

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

Parameters

targetResource
Object

Target object that defines the property.

propertyName
String

The name of the collection property to which the resource should be added.

resourceToBeAdded
Object

The opaque object representing the resource to be added.

Applies to