Partilhar via


SPElementDefinitionCollection Class

Represents a collection of SPElementDefinition objects.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPElementDefinitionCollection

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPElementDefinitionCollection _
    Implements IEnumerable
'Usage
Dim instance As SPElementDefinitionCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPElementDefinitionCollection : IEnumerable

Remarks

Use the GetElementDefinitions method of the SPFeatureDefinition class to return the collection of element definitions that are used in a Feature definition.

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

SPElementDefinitionCollection Members

Microsoft.SharePoint.Administration Namespace