Export (0) Print
Expand All

IUpdatable.AddReferenceToCollection Method

Adds the specified value to the collection.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

void AddReferenceToCollection(
	Object targetResource,
	string propertyName,
	Object resourceToBeAdded
)

Parameters

targetResource
Type: System.Object
Target object that defines the property.
propertyName
Type: System.String
The name of the collection property to which the resource should be added..
resourceToBeAdded
Type: System.Object
The opaque object representing the resource to be added.
Show:
© 2015 Microsoft