共用方式為


SP.ClientObject.isPropertyAvailable(propertyName) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

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

var value = SP.ClientObject.isPropertyAvailable(propertyName);

Parameters

  • propertyName
    A string that contains the name of the scalar property.

Type: String

Return Value

Type: Boolean

Applies To

SP.ClientObject Class

Remarks

The IsPropertyAvailable method applies only to scalar properties.

See Also

Reference

SP.ClientObject Methods

SP.ClientObject Properties

SP Namespace