ClientObjectPrototype.RetrieveCollectionObject<ItemType> 方法
傳回集合原型代表指定的ClientObjectCollection屬性。此成員是保留給內部使用,而不是用來直接從您的程式碼使用
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中) Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)
語法
'宣告
Public Function RetrieveCollectionObject(Of ItemType) ( _
propertyName As String _
) As ClientObjectCollectionPrototype(Of ItemType)
'用途
Dim instance As ClientObjectPrototype
Dim propertyName As String
Dim returnValue As ClientObjectCollectionPrototype(Of ItemType)
returnValue = instance.RetrieveCollectionObject(propertyName)
public ClientObjectCollectionPrototype<ItemType> RetrieveCollectionObject<ItemType>(
string propertyName
)
參數類型
- ItemType
集合中的項目類型。
參數
propertyName
類型:System.String包含屬性名稱的字串。
傳回值
類型:Microsoft.SharePoint.Client.ClientObjectCollectionPrototype<ItemType>
指定的ClientObjectCollection屬性。此成員是保留給內部使用,而不是用來直接從您的程式碼使用
備註
這個方法會傳回原型代表指定的ClientObjectCollection屬性來擷取子項目集合。