共用方式為


SPElementDefinitionCollection class

代表SPElementDefinition物件的集合。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPElementDefinitionCollection

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

Syntax

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

備註

使用SPFeatureDefinition類別之GetElementDefinitions方法可傳回的可用的元素定義集合中的功能定義。

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.

請參閱

參照

SPElementDefinitionCollection members

Microsoft.SharePoint.Administration namespace