次の方法で共有


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)

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