ClientObjectPrototype.RetrieveObject<PropertyType> method

Returns an object prototype that represents the specified ClientObject 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 RetrieveObject(Of PropertyType) ( _
    propertyName As String _
) As ClientObjectPrototype(Of PropertyType)
'Usage
Dim instance As ClientObjectPrototype
Dim propertyName As String
Dim returnValue As ClientObjectPrototype(Of PropertyType)

returnValue = instance.RetrieveObject(propertyName)
public ClientObjectPrototype<PropertyType> RetrieveObject<PropertyType>(
    string propertyName
)

Type parameters

  • PropertyType
    The property type.

Parameters

  • propertyName
    Type: System.String

    A string that contains the property name.

Return value

Type: Microsoft.SharePoint.Client.ClientObjectPrototype<PropertyType>
The specified ClientObject property.

Remarks

This method returns the prototype that represents the specified ClientObjectCollection class for retrieving the child items for the collection.

See also

Reference

ClientObjectPrototype class

ClientObjectPrototype members

Microsoft.SharePoint.Client namespace