次の方法で共有


SPContentType.Update method

Updates the content type definition that is stored in the database with any changes you have made programmatically.

Overload list

  Name Description
Public method Update() Updates the content type definition that is stored in the database with any changes you have made programmatically.
Public method Update(Boolean) Updates the content type definition that is stored in the database and, optionally, updates all content types that inherit from this content type.
Public method Update(Boolean, Boolean) Updates the content type definition that is stored in the database, optionally updates all content types that inherit from this content type, and optionally throws an exception when it encounters a child content type that cannot be modified.

Top

See also

Reference

SPContentType class

SPContentType members

Microsoft.SharePoint namespace