Compartilhar 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
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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