ClientObject.IsPropertyAvailable 方法

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)

语法

声明
Public Function IsPropertyAvailable ( _
    propertyName As String _
) As Boolean
用法
Dim instance As ClientObject
Dim propertyName As String
Dim returnValue As Boolean

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

参数

  • propertyName
    类型:System.String

    A string that contains the name of the scalar property.

返回值

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

备注

The IsPropertyAvailable method applies only to scalar properties.

另请参阅

引用

ClientObject 类

ClientObject 成员

Microsoft.SharePoint.Client 命名空间