IUpdatable.AddReferenceToCollection(Object, String, Object) Method
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)
- 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.
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: