SP.FeatureCollection.getById(featureId) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Gets the feature with the specified feature ID.

var value = SP.FeatureCollection.getById(featureId);

Parameters

  • featureId
    The ID of the feature.

Type: SP.Guid

Return Value

Type: SP.Feature

The feature with the specified ID.

Applies To

SP.FeatureCollection Class

Exceptions

Remarks

Returns null if no feature is available for the given feature identifier.

See Also

Reference

SP.FeatureCollection Methods

SP.FeatureCollection Properties

SP Namespace