共用方式為


SPContentTypeCollection.Item property

Include protected members
Include inherited members

從集合中取得指定的內容類型。

Overload list

  Name Description
Public property Item[Int32] 取得指定索引處的內容類型,集合中。
Public property Item[String] 取得具有指定的名稱的內容類型。
Public property Item[SPContentTypeId] 取得具有指定的內容型別識別項 (ID) 的內容類型。

Top

請參閱

參照

SPContentTypeCollection class

SPContentTypeCollection members

Microsoft.SharePoint namespace