Share via


ISharePointProjectItemTypeDefinition Interface

Definition

Helps define the type of a SharePoint project item.

public interface class ISharePointProjectItemTypeDefinition : Microsoft::VisualStudio::SharePoint::IAnnotatedObject, Microsoft::VisualStudio::SharePoint::ISharePointProjectItemEvents, Microsoft::VisualStudio::SharePoint::ISharePointProjectItemFileEvents
public interface ISharePointProjectItemTypeDefinition : Microsoft.VisualStudio.SharePoint.IAnnotatedObject, Microsoft.VisualStudio.SharePoint.ISharePointProjectItemEvents, Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFileEvents
type ISharePointProjectItemTypeDefinition = interface
    interface IAnnotatedObject
    interface ISharePointProjectItemEvents
    interface ISharePointProjectItemFileEvents
Public Interface ISharePointProjectItemTypeDefinition
Implements IAnnotatedObject, ISharePointProjectItemEvents, ISharePointProjectItemFileEvents
Implements

Remarks

Properties can be set only inside of the InitializeType method.

ISharePointProjectItemTypeDefinition allows to associate custom data with a type because it inherits from the IAnnotatedObject interface.

Properties

Annotations

Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface.

(Inherited from IAnnotatedObject)
Name

Gets or sets the name of the project item type shown in designers. By default it is the ID.

ProjectItemType

Gets the ISharePointProjectItemType being defined by this ISharePointProjectItemTypeDefinition instance.

ProjectService

Gets an instance of the SharePoint project service.

SupportedAssemblyDeploymentTargets

Gets or sets the deployment location of the assembly that is supported by this project item.

SupportedDeploymentScopes

Gets or sets the scope at which the deployment of the ISharePointProjectItem is supported in SharePoint.

SupportedTrustLevels

Gets or sets the trust levels in SharePoint supported by the ISharePointProjectItem.

Events

DeploymentStepCanceled

Occurs when a deployment step has been canceled for an ISharePointProjectItem instance.

(Inherited from ISharePointProjectItemEvents)
DeploymentStepCompleted

Occurs when a deployment step completes for an ISharePointProjectItem instance.

(Inherited from ISharePointProjectItemEvents)
DeploymentStepFailed

Occurs when a deployment step has failed for an ISharePointProjectItem instance.

(Inherited from ISharePointProjectItemEvents)
DeploymentStepStarted

Occurs when a deployment step starts for an ISharePointProjectItem instance.

(Inherited from ISharePointProjectItemEvents)
FileAdded

Occurs when a new ISharePointProjectItemFile instance is added.

(Inherited from ISharePointProjectItemFileEvents)
FileDeploymentPathChanged

Occurs when the DeploymentPath property is modified.

(Inherited from ISharePointProjectItemFileEvents)
FileDeploymentTypeChanged

Occurs when the DeploymentType property is modified.

(Inherited from ISharePointProjectItemFileEvents)
FileNameChanged

Occurs when an ISharePointProjectItemFile instance is renamed.

(Inherited from ISharePointProjectItemFileEvents)
FileOpening (Inherited from ISharePointProjectItemFileEvents)
FilePropertyChanged

Occurs when a property value in an ISharePointProjectItemFile instance is modified.

(Inherited from ISharePointProjectItemFileEvents)
FileRemoved

Occurs when an ISharePointProjectItemFile instance is removed.

(Inherited from ISharePointProjectItemFileEvents)
ProjectItemAdded

Occurs when a new ISharePointProjectItem instance is added.

(Inherited from ISharePointProjectItemEvents)
ProjectItemDisposing

Occurs when an ISharePointProjectItem instance is about to be disposed.

(Inherited from ISharePointProjectItemEvents)
ProjectItemInitialized

Occurs when an ISharePointProjectItem instance is initialized.

(Inherited from ISharePointProjectItemEvents)
ProjectItemMenuItemsRequested

Occurs when an ISharePointProjectItem instance is requested for context menu items.

(Inherited from ISharePointProjectItemEvents)
ProjectItemNameChanged

Occurs when an ISharePointProjectItem instance is renamed.

(Inherited from ISharePointProjectItemEvents)
ProjectItemOpen

Occurs when a SharePoint project item folder opens.

(Inherited from ISharePointProjectItemEvents)
ProjectItemPropertiesRequested

Occurs when an ISharePointProjectItem instance is requested for properties.

(Inherited from ISharePointProjectItemEvents)
ProjectItemPropertyChanged

Occurs when a property value in an ISharePointProjectItem instance is changed.

(Inherited from ISharePointProjectItemEvents)
ProjectItemRemoved

Occurs when an ISharePointProjectItem instance is removed.

(Inherited from ISharePointProjectItemEvents)
ProjectItemStartupUrlRequested

Occurs when a startup URL is requested for an ISharePointProjectItem.

Applies to