共用方式為


SPWebApplicationCollection members

Include protected members
Include inherited members

代表SPWebApplication物件的集合。

The SPWebApplicationCollection type exposes the following members.

Constructors

  Name Description
Public method SPWebApplicationCollection 初始化SPWebApplicationCollection類別的新執行個體。

Top

Properties

  Name Description
Public property Count 集合中取得物件的數目。 (Inherited from SPPersistedObjectCollection<T>.)
Public property IsEmpty 取得 Boolean 值,表示集合是否含有任何物件。 (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[Guid] 根據指定的 GUID 集合中取得的持續性的物件。 (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[String] 根據指定的名稱集合中取得的持續性的物件。 (Inherited from SPPersistedObjectCollection<T>.)
Protected property Parent 取得宣告此集合的父物件。 (Inherited from SPPersistedObjectCollection<T>.)

Top

Methods

  Name Description
Public method Add 會將物件新增至集合。 (Inherited from SPPersistedChildCollection<T>.)
Public method Ensure 會將物件新增至集合,並如果物件已存在,時重新加以初始化的現有物件的資料。 (Inherited from SPPersistedChildCollection<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator 取得可用來逐一查看集合的列舉值。 (Inherited from SPPersistedObjectCollection<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<U>() 使用指定的類型和預設名稱從集合中擷取的物件。 (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(Guid) 使用指定的識別碼和類型從集合中擷取的物件。 (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(String) 使用指定的名稱與類型從集合中擷取的物件。 (Inherited from SPPersistedObjectCollection<T>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove 會將物件從集合中刪除。 (Inherited from SPPersistedChildCollection<T>.)
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator 透過這份清單中的所有項目傳回的列舉值。 (Inherited from SPPersistedObjectCollection<T>.)

Top

請參閱

參照

SPWebApplicationCollection class

Microsoft.SharePoint.Administration namespace