共用方式為


SPContentTypeCollection.Item Property

Include Protected Members
Include Inherited Members

Gets the specified content type from the collection.

Overload List

  Name Description
Public property Item[Int32] Gets the content type at the specified index in the collection.
Public property Item[String] Gets the content type that has the specified name.
Public property Item[SPContentTypeId] Gets the content type that has the specified content type identifier (ID).

Top

See Also

Reference

SPContentTypeCollection Class

SPContentTypeCollection Members

Microsoft.SharePoint Namespace