共用方式為


SPAlternateUrlCollectionManager members

Include protected members
Include inherited members

提供可用來執行伺服器陣列中的所有SPAlternateUrlCollection物件上的作業的方法。

The SPAlternateUrlCollectionManager type exposes the following members.

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 DeserializeUrlFromStorage 會指定的字串還原序列化成指定的 URL 區域的適當 URL。
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>.)
Public method LookupAlternateUrl 會傳回SPAlternateUrl物件,其中包含指定的 URL。
Protected method MemberwiseClone (Inherited from Object.)
Public method RebaseUriWithAlternateUri(Uri) 取代對應的備用存取 URI 配置、 主機及連接埠的指定的 URI。
Public method RebaseUriWithAlternateUri(Uri, Nullable<SPUrlZone>) 取代指定區域的備用存取 URI 配置、 主機及連接埠的指定的 URI。
Public method Remove 會將物件從集合中刪除。 (Inherited from SPPersistedChildCollection<T>.)
Public method SerializeUrlForStorage 序列化指定的 URL,格式為適用於持續性儲存空間。
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<SPAlternateUrl>.GetEnumerator() 取得物件,可逐一查看整個集合。
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator 取得物件,可逐一查看整個集合。

Top

請參閱

參照

SPAlternateUrlCollectionManager class

Microsoft.SharePoint.Administration namespace