ISharePointProjectItemFile 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示 SharePoint 專案系統中的檔案。
public interface class ISharePointProjectItemFile : Microsoft::VisualStudio::SharePoint::IDeployableFile, Microsoft::VisualStudio::SharePoint::ISharePointProjectMember, Microsoft::VisualStudio::SharePoint::ISharePointProjectStartupItem, System::ComponentModel::INotifyPropertyChanged
public interface ISharePointProjectItemFile : Microsoft.VisualStudio.SharePoint.IDeployableFile, Microsoft.VisualStudio.SharePoint.ISharePointProjectMember, Microsoft.VisualStudio.SharePoint.ISharePointProjectStartupItem, System.ComponentModel.INotifyPropertyChanged
type ISharePointProjectItemFile = interface
interface ISharePointProjectMember
interface IAnnotatedObject
interface INotifyObjectDisposing
interface INotifyObjectDisposed
interface INotifyPropertyChanged
interface IDeployableFile
interface ISharePointProjectStartupItem
Public Interface ISharePointProjectItemFile
Implements IDeployableFile, INotifyPropertyChanged, ISharePointProjectMember, ISharePointProjectStartupItem
- 實作
屬性
Annotations |
取得 IAnnotationDictionary 執行個體,以建立自訂資料與實作 IAnnotatedObject 介面之物件的關聯。 (繼承來源 IAnnotatedObject) |
DeploymentPath |
取得或設定檔案部署於 SharePoint 且與 DeploymentRoot 表示之基底路徑相對的路徑。 (繼承來源 IDeployableFile) |
DeploymentRoot |
取得 SharePoint 儲存檔案的基底路徑。 (繼承來源 IDeployableFile) |
DeploymentType |
取得要對檔案執行的部署類型。 (繼承來源 IDeployableFile) |
DeploymentUrl |
取得將要部署這個檔案的絕對 SharePoint URL。 (繼承來源 IDeployableFile) |
FullPath |
取得專案成員檔案或目錄的完整來源路徑。 (繼承來源 ISharePointProjectMember) |
Icon |
取得方案總管中所顯示專案成員節點的圖示。 (繼承來源 ISharePointProjectMember) |
IsDisposed |
取得是否處置物件。 (繼承來源 INotifyObjectDisposed) |
IsDisposing |
取得是否正在處置物件。 (繼承來源 INotifyObjectDisposing) |
IsExpanded |
取得或設定是否在方案總管中展開該節點。 (繼承來源 ISharePointProjectMember) |
Name |
取得方案總管中所顯示專案成員節點的名稱。 (繼承來源 ISharePointProjectMember) |
Project |
取得包含專案的參考。 (繼承來源 ISharePointProjectMember) |
ProjectItem |
取得父專案項目的參考。 |
RelativePath |
取得專案目錄內項目的唯一位置。 (繼承來源 ISharePointProjectStartupItem) |
Source |
取得檔案相對於父 ProjectItem 節點的路徑。 |
StartupUrl |
取得要在啟動項目時啟動的 URL。 (繼承來源 ISharePointProjectStartupItem) |
方法
CollapseChildItems() |
確定此 ISharePointProjectMember 專案的所有子項目都會在 方案總管 中折疊。 (繼承來源 ISharePointProjectMember) |
事件
DeploymentPathChanged |
發生於變更 DeploymentPath 時。 (繼承來源 IDeployableFile) |
DeploymentTypeChanged |
發生於變更 DeploymentType 時。 (繼承來源 IDeployableFile) |
Disposed |
在處置物件時發生。 (繼承來源 INotifyObjectDisposed) |
Disposing |
在處置物件時發生。 (繼承來源 INotifyObjectDisposing) |
NameChanged |
在變更專案成員節點的名稱時發生。 (繼承來源 ISharePointProjectMember) |