Compartilhar via


ContentTypeAttribute Members

Include Protected Members
Include Inherited Members

Specifies that the class maps to a Microsoft SharePoint Foundation content type.

The ContentTypeAttribute type exposes the following members.

Constructors

  Name Description
Public method ContentTypeAttribute Initializes a new instance of the ContentTypeAttribute class.

Top

Properties

  Name Description
Public property Id Gets or sets the ID of the content type.
Public property List Gets or sets the name of the list to which the content type is scoped if, and only if, it is a list-scoped content type.
Public property Name Gets or sets the name of the content type.
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

See Also

Reference

ContentTypeAttribute Class

Microsoft.SharePoint.Linq Namespace