共用方式為


ClientObject.IsPropertyAvailable Method

Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set.

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 IsPropertyAvailable ( _
    propertyName As String _
) As Boolean
'Usage
Dim instance As ClientObject
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.IsPropertyAvailable(propertyName)
public bool IsPropertyAvailable(
    string propertyName
)

Parameters

  • propertyName
    Type: System.String

    A string that contains the name of the scalar property.

Return Value

Type: System.Boolean
true if the property has been retrieved or set; otherwise, false.

Remarks

The IsPropertyAvailable method applies only to scalar properties.

See Also

Reference

ClientObject Class

ClientObject Members

Microsoft.SharePoint.Client Namespace