共用方式為


SPContentTypeId members

Include protected members
Include inherited members

代表內容類型識別碼 (ID)。

The SPContentTypeId type exposes the following members.

Constructors

  Name Description
Public method SPContentTypeId 初始化使用指定的十六進位字串SPContentTypeId類型的新執行個體。

Top

Properties

  Name Description
Public propertyStatic member Empty 取得空的內容類型識別碼 (ID)。
Public property Parent 取得目前的內容類型識別碼是直接階的內容類型識別碼 (ID)。

Top

Methods

  Name Description
Public methodStatic member BestMatch 搜尋的內容類型識別碼 (Id) 的集合,並傳回最符合指定的內容類型識別碼的內容類型識別碼
Public method CompareTo 比較目前的內容類型識別碼 (ID) 與其他內容類型識別碼。
Public method Equals 會決定目前SPContentTypeId物件是否等於另一個類型的物件 (可能是未知)。 (Overrides ValueType.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public methodStatic member FindCommonParent 取得兩個內容類型識別碼值的一般上層內容類型識別碼 (ID)。
Public method GetHashCode 會傳回目前的內容類型識別碼 (ID) 的雜湊程式碼。 (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method IsChildOf 會指出是否指定的內容類型識別碼 (ID) 的下階目前的內容類型識別碼。
Public method IsParentOf 會指出目前的內容類型識別碼 (ID) 是否父代為指定的內容類型識別碼。
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString 傳回十六進位字元的字串,表示內容類型識別碼 (ID)。 (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality 會指出是否等於兩個指定的內容類型識別碼 (Id)。
Public operatorStatic member GreaterThan 指出是否第一個內容類型識別碼 (ID) 為大於第二個內容類型識別碼。
Public operatorStatic member GreaterThanOrEqual 表示第一個內容類型識別碼 (ID) 為大於或等於第二個內容類型識別碼。
Public operatorStatic member Inequality 會指出是否不相等的兩個指定的內容類型識別碼 (Id)。
Public operatorStatic member LessThan 會指出第一個內容類型識別碼 (ID) 是否比第二個內容輸入 id。
Public operatorStatic member LessThanOrEqual 指出是否第一個內容類型識別碼 (ID) 為小於或等於第二個內容類型識別碼。

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IComparable.CompareTo 比較與另一個相同類型的物件目前的執行個體。

Top

請參閱

參照

SPContentTypeId structure

Microsoft.SharePoint namespace