SiteCollection.Item[String] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a site that has the specified name in the collection.
public:
property Microsoft::Web::Administration::Site ^ default[System::String ^] { Microsoft::Web::Administration::Site ^ get(System::String ^ name); };
public Microsoft.Web.Administration.Site this[string name] { get; }
member this.Item(string) : Microsoft.Web.Administration.Site
Default Public ReadOnly Property Item(name As String) As Site
Parameters
- name
- String
The name of the site to retrieve from the site collection.
Property Value
The Site object with the specified name in the SiteCollection object.
Remarks
The Name property of a Site object corresponds to the name
parameter that is used to find a site in the SiteCollection object.