Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Adds the specified value to the collection.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Sub AddReferenceToCollection ( _
targetResource As Object, _
propertyName As String, _
resourceToBeAdded As Object _
)
'Usage
Dim instance As IUpdatable
Dim targetResource As Object
Dim propertyName As String
Dim resourceToBeAdded As Object
instance.AddReferenceToCollection(targetResource, _
propertyName, resourceToBeAdded)
void AddReferenceToCollection(
Object targetResource,
string propertyName,
Object resourceToBeAdded
)
void AddReferenceToCollection(
Object^ targetResource,
String^ propertyName,
Object^ resourceToBeAdded
)
abstract AddReferenceToCollection :
targetResource:Object *
propertyName:string *
resourceToBeAdded:Object -> unit
function AddReferenceToCollection(
targetResource : Object,
propertyName : String,
resourceToBeAdded : Object
)
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.