Microsoft.VisualStudio.SharePoint 命名空間

Microsoft.VisualStudio.SharePoint 命名空間包含的類型可讓您用來延伸 Visual Studio 中的 SharePoint 專案系統。 如需在此命名中使用類型的相關詳細資訊,請參閱 Extending the SharePoint Project System(延伸 SharePoint 專案系統)。

類別

ClassNameChangedEventArgs

提供變更類別名稱時所引發事件的資料。

ClassNameChangingEventArgs

提供即將變更類別名稱時所引發事件的資料。

DeploymentEventArgs

提供 DeploymentStartedDeploymentCompleted 事件的資料。

DeploymentPathChangedEventArgs

提供 DeploymentPathChanged 事件的資料。

DeploymentStepCanceledEventArgs

表示用於 DeploymentStepCanceled 事件的事件引數類別。

DeploymentStepCompletedEventArgs

提供 DeploymentStepCompleted 事件的資料。

DeploymentStepFailedEventArgs

表示用於 DeploymentStepFailed 事件的事件引數類別。

DeploymentStepStartedEventArgs

提供 DeploymentStepStarted 事件的資料。

DeploymentTypeChangedEventArgs

提供 DeploymentTypeChanged 事件的資料。

HighTrustCreationInformation

提供建立 Web 專案所需的資訊,做為高度信任應用程式的一部分。

MenuItemEventArgs

代表 Click 事件的事件引數類別。

NameChangedEventArgs

代表 NameChanged 事件的事件引數類別。

NamespaceNameChangedEventArgs

針對命名空間名稱已變更時所引發的事件,提供相關資料。

NamespaceNameChangingEventArgs

針對即將變更命名空間名稱時所引發的事件,提供相關資料。

SharePointCommandCanceledException

當 SharePoint 命令由使用者取消時所引發的例外狀況。

SharePointCommandException

SharePoint 命令失敗時所擲回的例外狀況。

SharePointConnectionDisabledException

當 SharePoint 連接已停用時所引發的例外狀況。

SharePointConnectionException

嘗試連接至本機 SharePoint 網站失敗時所擲回的例外狀況。

SharePointProjectEventArgs

提供與 SharePoint 專案相關之事件的資料。

SharePointProjectItemEventArgs

提供與 SharePoint 專案項目相關之事件的資料。

SharePointProjectItemFileEventArgs

提供與 SharePoint 專案項目檔案相關之事件的資料。

SharePointProjectItemFileOpenEventArgs

提供專案項目 Open 事件相關事件的資料。

SharePointProjectItemIconAttribute

指定要在方案總管中顯示自訂專案項目類型的圖示。

SharePointProjectItemMenuItemsRequestedEventArgs

提供 ProjectItemMenuItemsRequested 事件的資料。

SharePointProjectItemOpenEventArgs

提供 Open 事件的資料。

SharePointProjectItemPropertiesRequestedEventArgs

提供 ProjectItemPropertiesRequested 事件的資料。

SharePointProjectItemStartupUrlRequestedEventArgs

提供 ProjectItemStartupUrlRequested 事件的資料。

SharePointProjectItemTypeAttribute

指定所定義專案項目類型的識別碼,或所擴充之專案項目類型的識別碼。

SharePointProjectMenuItemsRequestedEventArgs

提供 ProjectMenuItemsRequested 事件的資料。

SharePointProjectPropertiesRequestedEventArgs

提供 ProjectPropertiesRequested 事件的資料。

WebProjectCreationInformation

代表建立 Web 專案的資訊。

介面

IAnnotatedObject

代表 IAnnotationDictionary,可建立自訂資料與實作此介面之物件的關聯。

IAnnotationDictionary

代表可與 SharePoint 工具物件模型中特定物件建立關聯之自訂資料物件的字典。

ICodeRefactoringEvents

提供事件,通知發生重構作業。

IDeployableFile

提供基底介面,適用於所有可以封裝至 WSP 檔案並部署至 SharePoint 的檔案。 這些檔案共用一組部署相關的屬性。

IFeatureReceiver

代表 SharePoint 中的功能接收器。

IMappedFolder

代表 SharePoint 專案中對應至 SharePoint 中位置的資料夾。

IMappedFolderCollection

代表 SharePoint 專案中對應資料夾的集合。

IMenuItem

代表可新增至 ISharePointProjectItemIExplorerNode 之操作功能表的功能表項目。

IMenuItemCollection

代表 ProjectItemMenuItemsRequested 事件處理常式中動態新增的功能表項目集合。

INotifyObjectDisposed

實作此介面的類別會在處置物件時通知您。

INotifyObjectDisposing

實作此介面的類別會在處置物件時通知您。

IObservableModelElement

代表 DSL 模型項目,其公開屬性變更中/已變更事件。

IPropertySourceCollection

代表出現在 [屬性] 視窗中的屬性來源物件集合。

ISafeControlEntry

代表在部署時新增至 SharePoint web.config 檔案的安全控制項項目。

ISafeControlEntryCollection

代表安全控制項項目的集合。

ISharePointAppSettings

表示 SharePoint 應用程式或 Office 應用程式的設定。

ISharePointCollection<T>

表示唯讀的項目集合。 它未提供公用方法來修改集合內容。 它是用作 SharePoint 專案模型中許多集合的基底類型。 這些集合通常會在內部變更,而且可以使用事件來監視這些變更。

ISharePointConnection

提供可以用來執行 SharePoint 命令的方法,會從 Visual Studio 中 SharePoint 工具的擴充功能呼叫 SharePoint 伺服器物件模型。

ISharePointProject

表示 SharePoint 專案。

ISharePointProjectCollection

Visual Studio 方案中的所有 SharePoint 專案集合。

ISharePointProjectEvents

定義與 ISharePointProject 物件相關的事件。 實作物件會定義發生這些事件的內容。

ISharePointProjectExtension

代表 SharePoint 專案的延伸模組。

ISharePointProjectFeature

提供功能的相關資訊。

ISharePointProjectFeatureCollection

SharePoint 專案中定義的所有 SharePoint 功能集合。

ISharePointProjectFeatureResourceFile

代表功能的資源檔。

ISharePointProjectFeatureResourceFileCollection

代表功能的資源檔集合。

ISharePointProjectItem

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

ISharePointProjectItemCollection

代表 SharePoint 專案項目的集合。

ISharePointProjectItemEvents

定義與 ISharePointProjectItem 物件相關的事件。

ISharePointProjectItemFile

表示 SharePoint 專案系統中的檔案。

ISharePointProjectItemFileCollection

代表 SharePoint 專案項目中檔案的集合。

ISharePointProjectItemFileEvents

定義與 ISharePointProjectItemFile 物件相關的事件。

ISharePointProjectItemType

代表 SharePoint 專案項目的類型。 它可讓使用者建立自訂資料與類型的關聯,因為它繼承自 IAnnotatedObject 介面。

ISharePointProjectItemTypeDefinition

說明可定義 SharePoint 專案項目的類型。

ISharePointProjectItemTypeExtension

代表適用於特定類型之 SharePoint 專案項目的延伸模組。

ISharePointProjectItemTypeProvider

提供自訂 SharePoint 專案項目類型的定義。

ISharePointProjectItemVirtualFile

表示 SharePoint 專案系統中的檔案。

ISharePointProjectItemVirtualFileCollection

表示 SharePoint 專案項目中檔案的集合。

ISharePointProjectLogger

代表 SharePoint 記錄服務,可讓 SharePoint 專案延伸模組根據指定的 LogCategory,將訊息記錄到 [輸出] 視窗和 [錯誤清單]。

ISharePointProjectMember

代表 SharePoint 專案的成員。

ISharePointProjectMemberReference

指定 SharePoint 專案中項目的參考。

ISharePointProjectMemberReferenceCollection

代表 SharePoint 專案項目參考的集合。

ISharePointProjectMemberReferenceResolver

指定 API,以解析 SharePoint 專案項目與項目本身之間的參考。

ISharePointProjectOutputReference

代表參考 Visual Studio 專案的主要輸出。

ISharePointProjectOutputReferenceCollection

代表屬於專案項目之專案輸出參考的集合。

ISharePointProjectPackage

與 SharePoint 專案建立關聯的 SharePoint 套件。

ISharePointProjectService

代表 SharePoint 專案服務,該專案服務是 SharePoint 專案物件模型的根物件。

ISharePointProjectStartupItem

代表可設為 ISharePointProject 啟動項目的項目。

列舉

AssemblyDeploymentTarget

指定專案輸出組件所要部署的位置。

DeploymentType

指定要在檔案上執行的部署類型。

LogCategory

指定使用 SharePoint 記錄服務寫入的訊息在 [輸出] 視窗和 [錯誤清單] 視窗中出現的位置。

MappedFolderType

指定 SharePoint 專案中已對應資料夾的類型。

SharePointAuthenticationMode

列舉 SharePoint 驗證模式。

SharePointProjectMode

指定 SharePoint 專案的模式。

SupportedAssemblyDeploymentTargets

列舉,代表某個指定之 SharePoint 專案項目所有支援的組建部署目標。

SupportedDeploymentScopes

指定部署範圍,其中的 SharePoint 專案項目可以在 SharePoint 中啟動。

SupportedTrustLevels

列舉值,指定由 SharePoint 專案項目支援的 SharePoint 中的信任層級。

WebProjectType

列舉 Web 專案的類型。

備註

雖然此命名空間中的大部分類型都是介面,但只有下列介面是用來在您的程式代碼中實作: