Share via


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)

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