ClientObjectCollection.AddChild 方法
新增用戶端物件ClientObjectCollection的結尾。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中) Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)
語法
'宣告
Protected Sub AddChild ( _
obj As ClientObject _
)
'用途
Dim obj As ClientObject
Me.AddChild(obj)
protected void AddChild(
ClientObject obj
)
參數
obj
類型:Microsoft.SharePoint.Client.ClientObject要新增至ClientObjectCollection結尾的用戶端物件。
備註
如果Count已經等於ClientObjectCollection容量,自動重新配置內部陣列會增加ClientObjectCollection的容量。