Microsoft.VisualStudio.SharePoint Namespace

The Microsoft.VisualStudio.SharePoint namespace contains types you can use to extend the SharePoint project system in Visual Studio. For more information about using the types in this namespace, see Extending the SharePoint Project System.

Classes

ClassNameChangedEventArgs

Provides data for an event raised when the name of a class is changed.

ClassNameChangingEventArgs

Provides data for an event raised when the name of a class is about to be changed.

DeploymentEventArgs

Provides data for the DeploymentStarted and DeploymentCompleted events.

DeploymentPathChangedEventArgs

Provides data for the DeploymentPathChanged event.

DeploymentStepCanceledEventArgs

Represents the event argument class used for the DeploymentStepCanceled event.

DeploymentStepCompletedEventArgs

Provides data for the DeploymentStepCompleted event.

DeploymentStepFailedEventArgs

Represents the event argument class used for the DeploymentStepFailed event.

DeploymentStepStartedEventArgs

Provides data for the DeploymentStepStarted event.

DeploymentTypeChangedEventArgs

Provides data for the DeploymentTypeChanged event.

HighTrustCreationInformation

Provides information for creating a web project as part of a high trust app.

MenuItemEventArgs

Represents the event arguments class for the Click event.

NameChangedEventArgs

Represents the event arguments class for the NameChanged event.

NamespaceNameChangedEventArgs

Provides data for an event raised when the name of a namespace has been changed.

NamespaceNameChangingEventArgs

Provides data for an event raised when the name of a namespace is about to be changed.

SharePointCommandCanceledException

The exception that is raised when a SharePoint command is canceled by user.

SharePointCommandException

The exception that is thrown when a SharePoint command fails.

SharePointConnectionDisabledException

The exception that is raised when SharePoint connection is disabled.

SharePointConnectionException

The exception that is thrown when an attempt to connect to the local SharePoint site fails.

SharePointProjectEventArgs

Provides data for events related to SharePoint projects.

SharePointProjectItemEventArgs

Provides data for events related to SharePoint project items.

SharePointProjectItemFileEventArgs

Provides data for events related to SharePoint project item files.

SharePointProjectItemFileOpenEventArgs

Provides data for events related to project item Open events.

SharePointProjectItemIconAttribute

Specifies the icon to display in Solution Explorer for a custom project item type.

SharePointProjectItemMenuItemsRequestedEventArgs

Provides data for the ProjectItemMenuItemsRequested event.

SharePointProjectItemOpenEventArgs

Provides data for the Open event.

SharePointProjectItemPropertiesRequestedEventArgs

Provides data for the ProjectItemPropertiesRequested event.

SharePointProjectItemStartupUrlRequestedEventArgs

Provides data for the ProjectItemStartupUrlRequested event.

SharePointProjectItemTypeAttribute

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

SharePointProjectMenuItemsRequestedEventArgs

Provides data for the ProjectMenuItemsRequested event.

SharePointProjectPropertiesRequestedEventArgs

Provides data for the ProjectPropertiesRequested event.

WebProjectCreationInformation

Represents the information for the web project creation.

Interfaces

IAnnotatedObject

Represents the IAnnotationDictionary, which enables association of custom data with the object implementing this interface.

IAnnotationDictionary

Represents a dictionary of custom data objects that you can associate with certain objects in the SharePoint tools object model.

ICodeRefactoringEvents

Provides events that notify about the occurrence of a refactoring operation.

IDeployableFile

Provides the base interface for all files that can be packaged into the WSP file and deployed to SharePoint. These files share a set of deployment-related properties.

IFeatureReceiver

Represents a feature receiver in SharePoint.

IMappedFolder

Represents a folder in a SharePoint project that is mapped to a location in SharePoint.

IMappedFolderCollection

Represents a collection of mapped folders in a SharePoint project.

IMenuItem

Represents a menu item that can be added to a context menu for ISharePointProjectItem or IExplorerNode.

IMenuItemCollection

Represents a collection of menu items that are added dynamically in the ProjectItemMenuItemsRequested event handler.

INotifyObjectDisposed

A class implementing this interface notifies you when an object is disposed.

INotifyObjectDisposing

A class implementing this interface notifies you when an object is being disposed.

IObservableModelElement

Represents a DSL model element that exposes property changing/changed events.

IPropertySourceCollection

Represents a collection of property source objects that appear in the Properties window.

ISafeControlEntry

Represents a safe control entry that is added to SharePoint's web.config file when it is deployed.

ISafeControlEntryCollection

Represents a collection of safe control entries.

ISharePointAppSettings

Represents the settings of application for SharePoint or application for Office.

ISharePointCollection<T>

Represents a read-only collection of items. It provides no public methods to modify content of the collection. It is used as a base type for a number of collections in SharePoint project model. These collections are typically changed internally and events can be used to monitor for these changes.

ISharePointConnection

Provides methods you can use to execute SharePoint commands that call into the SharePoint server object model from an extension of the SharePoint tools in Visual Studio.

ISharePointProject

Represents the SharePoint project.

ISharePointProjectCollection

A collection of all SharePoint projects in the Visual Studio solution.

ISharePointProjectEvents

Defines the events relevant to ISharePointProject objects. The implementing object defines the context on which these events occur.

ISharePointProjectExtension

Represents an extension for SharePoint projects.

ISharePointProjectFeature

Provides information about features.

ISharePointProjectFeatureCollection

A collection of all SharePoint features defined in the SharePoint project.

ISharePointProjectFeatureResourceFile

Represents a resource file for the feature.

ISharePointProjectFeatureResourceFileCollection

Represents the collection of resource files for a feature.

ISharePointProjectItem

Represents an instance of a SharePoint project item, implemented by the SharePoint project system.

ISharePointProjectItemCollection

Represents a collection of SharePoint project items.

ISharePointProjectItemEvents

Defines the events relevant to ISharePointProjectItem objects.

ISharePointProjectItemFile

Represents a file in the SharePoint project system.

ISharePointProjectItemFileCollection

Represents a collection of files in a SharePoint project item.

ISharePointProjectItemFileEvents

Defines the events relating to ISharePointProjectItemFile objects.

ISharePointProjectItemType

Represents a type of a SharePoint project item. It enables users to associate custom data with a type because it inherits from the IAnnotatedObject interface.

ISharePointProjectItemTypeDefinition

Helps define the type of a SharePoint project item.

ISharePointProjectItemTypeExtension

Represents an extension for a particular type of SharePoint project item.

ISharePointProjectItemTypeProvider

Provides the definition of a custom SharePoint project item type.

ISharePointProjectItemVirtualFile

Represents a file in the SharePoint project system.

ISharePointProjectItemVirtualFileCollection

Represents the collection of files in a SharePoint project item.

ISharePointProjectLogger

Represents the SharePoint logging service, which enables SharePoint project extensions to log messages into the Output window and Error List, depending on the specified LogCategory.

ISharePointProjectMember

Represents a member of a SharePoint project.

ISharePointProjectMemberReference

Specifies a reference to an item in a SharePoint project.

ISharePointProjectMemberReferenceCollection

Represents a collection of SharePoint project item references.

ISharePointProjectMemberReferenceResolver

Specifies an API that resolves references between SharePoint project items and the items themselves.

ISharePointProjectOutputReference

Represents the primary output of a referenced Visual Studio project.

ISharePointProjectOutputReferenceCollection

Represents a collection of project output references belonging to a project item.

ISharePointProjectPackage

The SharePoint package associated with the SharePoint project.

ISharePointProjectService

Represents the SharePoint project service, a root object for the SharePoint project object model.

ISharePointProjectStartupItem

Represents items that can be set as the startup item of an ISharePointProject.

Enums

AssemblyDeploymentTarget

Specifies where the output assembly of the project will be deployed.

DeploymentType

Specifies the type of deployment to be performed on a file.

LogCategory

Specifies where messages written by using the SharePoint log service appear in the Output window and Error List window.

MappedFolderType

Specifies the type of a mapped folder in a SharePoint project.

SharePointAuthenticationMode

Enumerates the SharePoint authentication mode.

SharePointProjectMode

Specifies the mode for the SharePoint project.

SupportedAssemblyDeploymentTargets

An enumeration that represents all of the supported assembly deployment targets for a specified SharePoint project item.

SupportedDeploymentScopes

Specifies the deployment scopes in which a SharePoint project item can be activated in SharePoint.

SupportedTrustLevels

Enumeration values that specify the trust level in SharePoint supported by the SharePoint project item.

WebProjectType

Enumerates a type of web project.

Remarks

Although most of the types in this namespace are interfaces, only the following interfaces are intended to be implemented in your code: