IUpdatable.AddReferenceToCollection(Object, String, Object) 方法

定义

将指定值添加到集合。

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

用于定义属性的目标对象。

propertyName
String

应向其中添加资源的集合属性的名称。

resourceToBeAdded
Object

表示要添加的资源的不透明对象。

适用于