Share via


ClientObjectPrototype.RetrieveCollectionObject<ItemType> method

Returns a collection prototype that represents the specified ClientObjectCollection property. This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Function RetrieveCollectionObject(Of ItemType) ( _
    propertyName As String _
) As ClientObjectCollectionPrototype(Of ItemType)
'Usage
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
)

Type parameters

  • ItemType
    The type of items in the collection.

Parameters

  • propertyName
    Type: System.String

    A string that contains the property name.

Return value

Type: Microsoft.SharePoint.Client.ClientObjectCollectionPrototype<ItemType>
The specified ClientObjectCollection property. This member is reserved for internal use and is not intended to be used directly from your code.

Remarks

This method returns the prototype that represents the specified ClientObjectCollection property that retrieves the child items for the collection.

See also

Reference

ClientObjectPrototype class

ClientObjectPrototype members

Microsoft.SharePoint.Client namespace