共用方式為


ClientObject.CheckUninitializedProperty Method

Checks to determine whether the specified value type property of a ClientObject has been initialized.

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
Protected Sub CheckUninitializedProperty ( _
    propName As String _
)
'Usage
Dim propName As String

Me.CheckUninitializedProperty(propName)
protected void CheckUninitializedProperty(
    string propName
)

Parameters

  • propName
    Type: System.String

    The String object that represents the name of the property to be checked to determine whether the specified value type property of a ClientObject has been initialized.

Remarks

If ClientObject is not initialized, the method will throw an PropertyOrFieldNotInitializedException exception.

See Also

Reference

ClientObject Class

ClientObject Members

Microsoft.SharePoint.Client Namespace