IMappedFolder Interface

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

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

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

public interface IMappedFolder : ISharePointProjectItem, 
	ISharePointProjectMember, IAnnotatedObject, INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged, 
	ISharePointProjectStartupItem

The IMappedFolder 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 propertyDefaultFileGet or sets the file that is launched when a SharePoint project item node in Solution Explorer is activated. (Inherited from ISharePointProjectItem.)
Public propertyDeploymentLocationGets or sets the location in SharePoint to which the mapped folder is mapped. This path is relative to the root of SharePoint.
Public propertyExtensionDataGets the information that enables project item extensions to persist custom data across Visual Studio sessions. (Inherited from ISharePointProjectItem.)
Public propertyFeatureActivationDependenciesGets the activation dependencies that are added to the feature that includes this Sharepoint Project Item. (Inherited from ISharePointProjectItem.)
Public propertyFeaturePropertiesGets the key/value pairs that are added to the feature that includes this SharePoint Project Item. (Inherited from ISharePointProjectItem.)
Public propertyFeatureReceiverGets a feature receiver, if the SharePoint project item requires it. At package time, this feature receiver is added to the feature that includes this SharePoint project item. (Inherited from ISharePointProjectItem.)
Public propertyFilesGets a collection of all files in the project under the SharePoint project item folder node and its subfolders. (Inherited from ISharePointProjectItem.)
Public propertyFolderTypeGets the type of mapped folder. The folder type derives from the location of the mapped folder for common locations in SharePoint.
Public propertyFullPathGets the full source path of the project member file or directory. (Inherited from ISharePointProjectMember.)
Public propertyIconGets the icon for the project member node displayed in Solution Explorer. (Inherited from ISharePointProjectMember.)
Public propertyIdGets a globally unique identifier for this instance of the SharePoint project item. (Inherited from ISharePointProjectItem.)
Public propertyIsDisposedGets whether the an object is disposed. (Inherited from INotifyObjectDisposed.)
Public propertyIsDisposingGets whether an object is disposing. (Inherited from INotifyObjectDisposing.)
Public propertyIsExpandedGets or sets whether that node is expanded in Solution Explorer. (Inherited from ISharePointProjectMember.)
Public propertyNameGets the name of the project member node displayed in Solution Explorer. (Inherited from ISharePointProjectMember.)
Public propertyProjectGets a reference to the containing project. (Inherited from ISharePointProjectMember.)
Public propertyProjectItemTypeGets a reference to the object representing the SharePoint project item type. (Inherited from ISharePointProjectItem.)
Public propertyProjectOutputReferencesGet the collection of project output references belonging to this project item. Referenced projects are built and their primary outputs are packaged along with the project item. (Inherited from ISharePointProjectItem.)
Public propertyProjectUserFileDataGets an IDictionary object that you can use to get or set name/value pairs that are saved in a project user file, such as files with a .csproj.user or .vbproj.user extension. (Inherited from ISharePointProjectItem.)
Public propertyRelativePathGets the unique location of the item within the project directory. (Inherited from ISharePointProjectStartupItem.)
Public propertySafeControlEntriesGet a collection of safe control entries that must be deployed along with this SharePoint project item when it is deployed. These entries are added to the package that references the SharePoint project item. (Inherited from ISharePointProjectItem.)
Public propertyStartupUrlGets the URL to launch when the item is started. (Inherited from ISharePointProjectStartupItem.)
Public propertyVirtualFilesGets the collection includes virtual files. Virtual files do not have to exist at design time. At packaging time MSBuild tasks need to ensure the file is present for the packaging to suceed. (Inherited from ISharePointProjectItem.)
Top

  NameDescription
Public methodCollapseChildItemsEnsures that all child items of this ISharePointProjectMember are collapsed in Solution Explorer. (Inherited from ISharePointProjectMember.)
Top

  NameDescription
Public eventDisposedOccurs when an object is disposed. (Inherited from INotifyObjectDisposed.)
Public eventDisposingOccurs when an object is being disposed. (Inherited from INotifyObjectDisposing.)
Public eventNameChangedOccurs when the name of the project member node is changed. (Inherited from ISharePointProjectMember.)
Public eventOpenOccurs when a SharePoint project item folder opens. (Inherited from ISharePointProjectItem.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top

Mapped folders are folders in a SharePoint project that correspond to the physical location of certain files in the SharePoint Server installation. For more information, see How to: Add and Remove Mapped Folders.

All files whose BuildAction property is set to either Content or None are automatically included in the output WSP file and deployed to the SharePoint server.

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