共用方式為


ClientObject.IsObjectPropertyInstantiated 方法

指出是否已產生的用戶端物件指定的屬性。

命名空間:  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 IsObjectPropertyInstantiated ( _
    propertyName As String _
) As Boolean
'用途
Dim instance As ClientObject
Dim propertyName As String
Dim returnValue As Boolean

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

參數

  • propertyName
    類型:System.String

    用戶端物件的指定的屬性名稱。

傳回值

類型:System.Boolean
true如果已產生指定的屬性。否則, false。

請參閱

參照

ClientObject 類別

ClientObject 成員

Microsoft.SharePoint.Client 命名空間