共用方式為


SPObjectModelTypeCollection Members

Include Protected Members
Include Inherited Members

Represents a SharePoint Foundation type information collection.

The SPObjectModelTypeCollection type exposes the following members.

Constructors

  Name Description
Public method SPObjectModelTypeCollection Initializes a new instance of the [Microsoft.SharePoint.Administration.SPObjectModelTypeCollection] class.

Top

Properties

  Name Description
Public property Count Number of entries in the collection.
Public property Item[Guid] A collection type item referenced by the given unique identifier.
Public property Item[Type] A collection type item referenced by the given unique identifier.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add Add the type and its member to the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the database. (Overrides SPAutoSerializingObject.OnDeserialization().)
Public method Remove(Type) Remove the type from the collection.
Public method Remove(Type, String) Remove the type and its member from the collection.
Public method RemoveAll Removes all types from the collection.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<SPObjectModelType>.GetEnumerator Retrieves the collection enumerator type.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Retrieves the collection enumerator type.

Top

See Also

Reference

SPObjectModelTypeCollection Class

Microsoft.SharePoint.Administration Namespace