IUpdatable.AddReferenceToCollection(Object, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.