IUpdatable.AddReferenceToCollection(Object, String, Object) IUpdatable.AddReferenceToCollection(Object, String, Object) IUpdatable.AddReferenceToCollection(Object, String, Object) 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 Object Object Object

Target object that defines the property.

propertyName
String String String String

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

resourceToBeAdded
Object Object Object Object

The opaque object representing the resource to be added.

Applies to