共用方式為


ISharePointProjectItem 介面

定義

表示 SharePoint 專案系統所實作的 SharePoint 專案項目執行個體。

public interface class ISharePointProjectItem : Microsoft::VisualStudio::SharePoint::ISharePointProjectMember, Microsoft::VisualStudio::SharePoint::ISharePointProjectStartupItem, System::ComponentModel::INotifyPropertyChanged
public interface ISharePointProjectItem : Microsoft.VisualStudio.SharePoint.ISharePointProjectMember, Microsoft.VisualStudio.SharePoint.ISharePointProjectStartupItem, System.ComponentModel.INotifyPropertyChanged
type ISharePointProjectItem = interface
    interface ISharePointProjectMember
    interface IAnnotatedObject
    interface INotifyObjectDisposing
    interface INotifyObjectDisposed
    interface INotifyPropertyChanged
    interface ISharePointProjectStartupItem
Public Interface ISharePointProjectItem
Implements INotifyPropertyChanged, ISharePointProjectMember, ISharePointProjectStartupItem
衍生
實作

備註

SharePoint 專案中包含項目項目檔的任何資料夾都會假設為 SharePoint 項目項目節點。

屬性

Annotations

取得 IAnnotationDictionary 執行個體,以建立自訂資料與實作 IAnnotatedObject 介面之物件的關聯。

(繼承來源 IAnnotatedObject)
DefaultFile

取得或設定檔案,此檔案是在啟動方案總管中的 SharePoint 專案項目節點時啟動。

ExtensionData

取得資訊,這項資訊可讓專案項目擴充功能在 Visual Studio 工作階段期間保留自訂資料。

FeatureActivationDependencies

取得已加入至包含此 SharePoint 專案項目之功能的啟用相依性。

FeatureProperties

取得機碼/值組,這個機碼/值組會加入至含有這個 SharePoint 專案項目的功能。

FeatureReceiver

取得功能接收器 (SharePoint 專案項目需要時)。 在封裝期間,這個功能接收器會加入至含有此 SharePoint 專案項目的功能。

Files

取得專案的 SharePoint 專案項目資料夾節點和其子資料夾下的所有檔案集合。

FullPath

取得專案成員檔案或目錄的完整來源路徑。

(繼承來源 ISharePointProjectMember)
Icon

取得方案總管中所顯示專案成員節點的圖示。

(繼承來源 ISharePointProjectMember)
Id

取得這個 SharePoint 專案項目執行個體的全域唯一識別碼。

IsDisposed

取得是否處置物件。

(繼承來源 INotifyObjectDisposed)
IsDisposing

取得是否正在處置物件。

(繼承來源 INotifyObjectDisposing)
IsExpanded

取得或設定是否在方案總管中展開該節點。

(繼承來源 ISharePointProjectMember)
Name

取得方案總管中所顯示專案成員節點的名稱。

(繼承來源 ISharePointProjectMember)
Project

取得包含專案的參考。

(繼承來源 ISharePointProjectMember)
ProjectItemType

取得物件的參考,這個物件表示 SharePoint 專案項目類型。

ProjectOutputReferences

取得屬於這個專案項目之專案輸出參考的集合。 會建置參考的專案,而且其主要輸出會與專案項目一起封裝。

ProjectUserFileData

取得 IDictionary 物件,您可以使用這個物件來取得或設定儲存在專案使用者檔案 (例如副檔名為 .csproj.user 或 .vbproj.user 的檔案) 中的名稱/值組。

RelativePath

取得專案目錄內項目的唯一位置。

(繼承來源 ISharePointProjectStartupItem)
SafeControlEntries

取得安全控制項項目的集合,在部署時,這些安全控制項項目必須與此 SharePoint 專案項目一起部署。 這些項目會加入至參考 SharePoint 專案項目的封裝中。

StartupUrl

取得要在啟動項目時啟動的 URL。

(繼承來源 ISharePointProjectStartupItem)
VirtualFiles

取得包含虛擬檔案的集合。 虛擬檔案不一定要存在於設計階段。 封裝時,MSBuild 工作必須確保檔案存在,才能讓封裝成功。

方法

CollapseChildItems()

確定此ISharePointProjectMember專案的所有子項目都會在 方案總管 中折疊。

(繼承來源 ISharePointProjectMember)

事件

Disposed

在處置物件時發生。

(繼承來源 INotifyObjectDisposed)
Disposing

在處置物件時發生。

(繼承來源 INotifyObjectDisposing)
NameChanged

在變更專案成員節點的名稱時發生。

(繼承來源 ISharePointProjectMember)
Open

發生於開啟 SharePoint 專案項目資料夾時。

適用於