This topic has not yet been rated - Rate this topic

SPFeatureDefinition.Id Property

Gets or sets the Guid that is associated with the object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[SubsetCallableForceNewKeywordAttribute]
public Guid Id { get; }

Property Value

Type: System.Guid
Returns a Guid object that identifies the SPFeature object.
Exception Condition
ArgumentException

Null Guid is not allowed.

The feature can be activated or deactivated at a given scope.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ