Share via


SharePointProjectItemTypeAttribute Class

Definition

Specifies the ID of a project item type that is being defined, or the ID of a project item type that is being extended.

public ref class SharePointProjectItemTypeAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class SharePointProjectItemTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type SharePointProjectItemTypeAttribute = class
    inherit Attribute
Public NotInheritable Class SharePointProjectItemTypeAttribute
Inherits Attribute
Inheritance
SharePointProjectItemTypeAttribute
Attributes

Remarks

Apply this attribute to implementations of the ISharePointProjectItemTypeProvider and ISharePointProjectItemTypeExtension interfaces in extensions of the SharePoint project system. For more information, see How to: Define a SharePoint Project Item Type and How to: Create a SharePoint Project Item Extension.

Constructors

SharePointProjectItemTypeAttribute(String)

Initializes a new instance of the SharePointProjectItemTypeAttribute class with the project item type ID.

Properties

ProjectItemTypeId

Gets or sets the project item type ID that is being defined or extended.

Applies to