共用方式為


SPSiteCollection.Item Property

Include Protected Members
Include Inherited Members

Gets the SPSite object at the specified location in the collection.

Overload List

  Name Description
Item[Int32] Gets the SPSite object at the specified index in the collection. In C#, this property is an indexer for the SPSiteCollection class.
Item[String] Gets the SPSite object at the specified server-relative URL in the collection.

Top

See Also

Reference

SPSiteCollection Class

SPSiteCollection Members

Microsoft.SharePoint.Administration Namespace