SPContentTypeId Methods

Include Protected Members
Include Inherited Members

The SPContentTypeId type exposes the following members.

Methods

  Name Description
Public methodStatic member BestMatch Searches a collection of content type identifiers (IDs) and returns the content type ID that most closely matches the specified content type ID.
Public method CompareTo Compares the current content type identifier (ID) with another content type ID.
Public method Equals Determines whether the current SPContentTypeId object is equal to another object (possibly of unknown type). (Overrides ValueType.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public methodStatic member FindCommonParent Gets the content type identifier (ID) of the common parent of two content type ID values.
Public method GetHashCode Returns a hash code for the current content type identifier (ID). (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method IsChildOf Indicates whether the specified content type identifier (ID) is a descendant of the current content type ID.
Public method IsParentOf Indicates whether the current content type identifier (ID) is a parent of the specified content type ID.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string of hexadecimal characters that represents the content type identifier (ID). (Overrides ValueType.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IComparable.CompareTo Compares the current instance with another object of the same type.

Top

See Also

Reference

SPContentTypeId Structure

Microsoft.SharePoint Namespace