다음을 통해 공유


SP.FeatureCollection.remove(featureId, force) Method

Applies to: SharePoint Foundation 2010

Removes the feature with the specified ID from the collection.

SP.FeatureCollection.remove(featureId, force);

Parameters

  • featureId
    The ID of the feature to remove. It must not be null.

Type: SP.Guid

  • force
    Specifies whether to force the operation to continue even if there are errors. This parameter is ignored if there are no errors.

Type: Boolean

Applies To

SP.FeatureCollection Class

Exceptions

  • InvalidOperationException
    The feature is not an activated feature or the feature cannot be deactivated and the force parameter was not set to true. Error code: -1.

See Also

Reference

SP.FeatureCollection Methods

SP.FeatureCollection Properties

SP Namespace