ISharePointProjectItemTypeDefinition Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Helps define the type of a SharePoint project item.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

public interface ISharePointProjectItemTypeDefinition : IAnnotatedObject, 
	ISharePointProjectItemEvents, ISharePointProjectItemFileEvents

The ISharePointProjectItemTypeDefinition type exposes the following members.

  NameDescription
Public propertyAnnotationsGets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface. (Inherited from IAnnotatedObject.)
Public propertyNameGets or sets the name of the project item type shown in designers. By default it is the ID.
Public propertyProjectItemTypeGets the ISharePointProjectItemType being defined by this ISharePointProjectItemTypeDefinition instance.
Public propertyProjectServiceGets an instance of the SharePoint project service.
Public propertySupportedAssemblyDeploymentTargetsGets or sets the deployment location of the assembly that is supported by this project item.
Public propertySupportedDeploymentScopesGets or sets the scope at which the deployment of the ISharePointProjectItem is supported in SharePoint.
Public propertySupportedTrustLevelsGets or sets the trust levels in SharePoint supported by the ISharePointProjectItem.
Top

  NameDescription
Public eventDeploymentStepCanceledOccurs when a deployment step has been canceled for an ISharePointProjectItem instance. (Inherited from ISharePointProjectItemEvents.)
Public eventDeploymentStepCompletedOccurs when a deployment step completes for an ISharePointProjectItem instance. (Inherited from ISharePointProjectItemEvents.)
Public eventDeploymentStepFailedOccurs when a deployment step has failed for an ISharePointProjectItem instance. (Inherited from ISharePointProjectItemEvents.)
Public eventDeploymentStepStartedOccurs when a deployment step starts for an ISharePointProjectItem instance. (Inherited from ISharePointProjectItemEvents.)
Public eventFileAddedOccurs when a new ISharePointProjectItemFile instance is added. (Inherited from ISharePointProjectItemFileEvents.)
Public eventFileDeploymentPathChangedOccurs when the DeploymentPath property is modified. (Inherited from ISharePointProjectItemFileEvents.)
Public eventFileDeploymentTypeChangedOccurs when the DeploymentType property is modified. (Inherited from ISharePointProjectItemFileEvents.)
Public eventFileNameChangedOccurs when an ISharePointProjectItemFile instance is renamed. (Inherited from ISharePointProjectItemFileEvents.)
Public eventFilePropertyChangedOccurs when a property value in an ISharePointProjectItemFile instance is modified. (Inherited from ISharePointProjectItemFileEvents.)
Public eventFileRemovedOccurs when an ISharePointProjectItemFile instance is removed. (Inherited from ISharePointProjectItemFileEvents.)
Public eventProjectItemAddedOccurs when a new ISharePointProjectItem instance is added. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemDisposingOccurs when an ISharePointProjectItem instance is about to be disposed. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemInitializedOccurs when an ISharePointProjectItem instance is initialized. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemMenuItemsRequestedOccurs when an ISharePointProjectItem instance is requested for context menu items. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemNameChangedOccurs when an ISharePointProjectItem instance is renamed. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemOpenOccurs when a SharePoint project item folder opens. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemPropertiesRequestedOccurs when an ISharePointProjectItem instance is requested for properties. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemPropertyChangedOccurs when a property value in an ISharePointProjectItem instance is changed. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemRemovedOccurs when an ISharePointProjectItem instance is removed. (Inherited from ISharePointProjectItemEvents.)
Public eventProjectItemStartupUrlRequestedOccurs when a startup URL is requested for an ISharePointProjectItem.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft