Share via


SPSiteSubscriptionFeaturePack.Contains method

Indicates whether the given feature definition exists in the feature pack or not.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Contains ( _
    featureDef As SPFeatureDefinition _
) As Boolean
'Usage
Dim instance As SPSiteSubscriptionFeaturePack
Dim featureDef As SPFeatureDefinition
Dim returnValue As Boolean

returnValue = instance.Contains(featureDef)
public bool Contains(
    SPFeatureDefinition featureDef
)

Parameters

Return value

Type: System.Boolean
true if the feature definition is contained in the feature pack.

See also

Reference

SPSiteSubscriptionFeaturePack class

SPSiteSubscriptionFeaturePack members

Microsoft.SharePoint namespace