共用方式為


SPPrefix members

Include protected members
Include inherited members

代表指定的相對 URL 用於判斷SPSite物件可能會建立之 url 的線段。

The SPPrefix type exposes the following members.

Constructors

  Name Description
Public method SPPrefix 僅限內部使用。

Top

Properties

  Name Description
Public property Name 取得伺服器相對 URL 的前置字元 (不含前置正斜線)。
Public property PrefixType 取得前置字元類型。
Public property UpgradedPersistedProperties 取得已刪除或變更的欄位的欄位名稱和值集合。 (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Equals 會決定是否前置詞與指定的物件,也必須是字串物件,具有相同的值,但在還原作業期間比較時發生,這個方法會取得適當的比較運算子。 (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode 會傳回首碼的雜湊程式碼。 (Overrides Object.GetHashCode().)
Public method GetObjectData 取得序列的物件的狀態。 (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization 物件已經從檔案系統快取或資料庫還原序列化之後呼叫。 (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent 會包含SPPersistedObject,若有的話,來更新其狀態。 (Inherited from SPAutoSerializingObject.)

Top

Fields

  Name Description
Public fieldStatic member MaxPrefixLength 會指出可用於字首的字元長度上限。

Top

請參閱

參照

SPPrefix class

Microsoft.SharePoint.Administration namespace