共用方式為


SPFormCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of SPForm objects.

The SPFormCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of forms in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Int32] Gets the form object at the specified index in the collection. In C#, this property is an indexer for the SPFormCollection class.
Public property Item[String] Gets the form located at the specified URL from the collection. In C#, this property is an indexer for the SPFormCollection class.
Public property Item[PAGETYPE] Gets the form of the specified type from the collection. In C#, this property is an indexer for the SPFormCollection class.
Public property List Gets the parent list of the form.
Public property SchemaXml Gets the schema in Collaborative Application Markup Language Core Schemas that defines the collection.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPFormCollection Class

Microsoft.SharePoint Namespace