SPContentTypeId Members
Include Protected Members
Include Inherited Members
Represents the identifier (ID) of a content type.
The SPContentTypeId type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPContentTypeId | Initializes a new instance of the SPContentTypeId type using a specified hexadecimal string. |
Top
Properties
Name | Description | |
---|---|---|
![]() ![]() |
Empty | Gets an empty content type identifier (ID). |
![]() |
Parent | Gets the content type identifier (ID) that the current content type ID is a direct descendant of. |
Top
Methods
Name | Description | |
---|---|---|
![]() ![]() |
BestMatch | Searches a collection of content type identifiers (IDs) and returns the content type ID that most closely matches the specified content type ID. |
![]() |
CompareTo | Compares the current content type identifier (ID) with another content type ID. |
![]() |
Equals | Determines whether the current SPContentTypeId object is equal to another object (possibly of unknown type). (Overrides ValueType.Equals(Object).) |
![]() |
Finalize | (Inherited from Object.) |
![]() ![]() |
FindCommonParent | Gets the content type identifier (ID) of the common parent of two content type ID values. |
![]() |
GetHashCode | Returns a hash code for the current content type identifier (ID). (Overrides ValueType.GetHashCode().) |
![]() |
GetType | (Inherited from Object.) |
![]() |
IsChildOf | Indicates whether the specified content type identifier (ID) is a descendant of the current content type ID. |
![]() |
IsParentOf | Indicates whether the current content type identifier (ID) is a parent of the specified content type ID. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | Returns a string of hexadecimal characters that represents the content type identifier (ID). (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Equality | Indicates whether two specified content type identifiers (IDs) are equal. |
![]() ![]() |
GreaterThan | Indicates whether the first content type identifier (ID) is greater than the second content type ID. |
![]() ![]() |
GreaterThanOrEqual | Indicates whether the first content type identifier (ID) is greater than or equal to the second content type ID. |
![]() ![]() |
Inequality | Indicates whether the two specified content type identifiers (IDs) are not equal. |
![]() ![]() |
LessThan | Indicates whether the first content type identifier (ID) is less than the second content type ID. |
![]() ![]() |
LessThanOrEqual | Indicates whether the first content type identifier (ID) is less than or equal to the second content type ID. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IComparable.CompareTo | Compares the current instance with another object of the same type. |
Top