共用方式為


ClientObject.Retrieve Method (String )

Retrieves the specified scalar properties associated with the object. 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 Sub Retrieve ( _
    ParamArray propertyNames As String() _
)
'Usage
Dim instance As ClientObject
Dim propertyNames As String()

instance.Retrieve(propertyNames)
public void Retrieve(
    params string[] propertyNames
)

Parameters

  • propertyNames
    Type: []

    A string array that contains the property names.

Remarks

It is recommended that the Load<T>(T, []) method be used rather than Retrieve().

See Also

Reference

ClientObject Class

ClientObject Members

Retrieve Overload

Microsoft.SharePoint.Client Namespace