共用方式為


SPObjectModelTypeCollection Class

Represents a SharePoint Foundation type information collection.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPObjectModelTypeCollection

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

Syntax

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

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

SPObjectModelTypeCollection Members

Microsoft.SharePoint.Administration Namespace

RestrictedTypes

AnonymousRestrictedTypes