Compartir a través de


SPFeatureProperty Class

Represents a single Feature property.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPFeatureProperty

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPFeatureProperty

Dim instance As SPFeatureProperty
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPFeatureProperty

Remarks

Use the Properties property of the SPFeature or Microsoft.SharePoint.Administration.SPFeatureDefinition class to get the collection of properties for the Feature or Feature definition. Use an indexer to return a single property from the collection. For example, if the collection is assigned to a variable named myProperties, use myProperties[index] in C#, or myProperties(index) in Visual Basic, where index is the index number of the Feature in the collection or the name of the Feature.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPFeatureProperty Members

Microsoft.SharePoint Namespace