共用方式為


Microsoft.VisualStudio.SharePoint 命名空間

Microsoft.VisualStudio.SharePoint 命名空間包含可用來在 Visual Studio 中擴充 SharePoint 專案系統的型別。如需在這個命名空間使用型別的詳細資訊,請參閱擴充 SharePoint 專案系統

雖然這個命名空間內大部分的型別都是介面,但只有下列介面會在您的程式碼中實作:

類別

  類別 說明
公用類別 ClassNameChangedEventArgs 針對變更類別名稱時所引發的事件,提供相關資料。
公用類別 ClassNameChangingEventArgs 針對將變更類別名稱時所引發的事件,提供相關資料。
公用類別 DeploymentEventArgs 提供 DeploymentStartedDeploymentCompleted 事件的資料。
公用類別 DeploymentPathChangedEventArgs 提供 DeploymentPathChanged 事件的資料。
公用類別 DeploymentStepCompletedEventArgs 提供 DeploymentStepCompleted 事件的資料。
公用類別 DeploymentStepStartedEventArgs 提供 DeploymentStepStarted 事件的資料。
公用類別 DeploymentTypeChangedEventArgs 提供 DeploymentTypeChanged 事件的資料。
公用類別 MenuItemEventArgs 代表 Click 事件的事件引數類別。
公用類別 NameChangedEventArgs 代表 NameChanged 事件的事件引數類別。
公用類別 SharePointCommandException 當 SharePoint 命令失敗時所擲回的例外狀況。
公用類別 SharePointConnectionException 嘗試連接本機 SharePoint 網站失敗時所擲回的例外狀況。
公用類別 SharePointProjectEventArgs 提供與 SharePoint 專案相關聯之事件的資料。
公用類別 SharePointProjectItemEventArgs 提供與 SharePoint 專案項目相關聯之事件的資料。
公用類別 SharePointProjectItemFileEventArgs 提供與 SharePoint 專案項目檔案相關聯之事件的資料。
公用類別 SharePointProjectItemIconAttribute 指定自訂專案項目類型要顯示在 [方案總管] 中的圖示。
公用類別 SharePointProjectItemMenuItemsRequestedEventArgs 提供 ProjectItemMenuItemsRequested 事件的資料。
公用類別 SharePointProjectItemOpenEventArgs 提供 Open 事件的資料。
公用類別 SharePointProjectItemPropertiesRequestedEventArgs 提供 ProjectItemPropertiesRequested 事件的資料。
公用類別 SharePointProjectItemStartupUrlRequestedEventArgs 提供 ProjectItemStartupUrlRequested 事件的資料。
公用類別 SharePointProjectItemTypeAttribute 指定正在定義的專案項目類型的 ID,或是正在擴充的專案項目類型的 ID。
公用類別 SharePointProjectMenuItemsRequestedEventArgs 提供 ProjectMenuItemsRequested 事件的資料。
公用類別 SharePointProjectPropertiesRequestedEventArgs 提供 ProjectPropertiesRequested 事件的資料。

介面

  介面 說明
公用介面 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 表示安全控制項項目的集合。
公用介面 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 專案項目類型的定義。
公用介面 ISharePointProjectLogger 表示 SharePoint 記錄服務,該記錄服務會啟用 SharePoint 專案擴充功能,來根據指定的 LogCategory 將訊息記錄至 [輸出] 視窗和 [錯誤清單]。
公用介面 ISharePointProjectMember 代表 SharePoint 專案的成員。
公用介面 ISharePointProjectMemberReference 指定 SharePoint 專案中項目的參考。
公用介面 ISharePointProjectMemberReferenceCollection 代表 SharePoint 專案項目參考的集合。
公用介面 ISharePointProjectMemberReferenceResolver 指定解析 SharePoint 專案項目與項目本身之間參考的 API。
公用介面 ISharePointProjectOutputReference 代表所參考 Visual Studio 專案的主要輸出。
公用介面 ISharePointProjectOutputReferenceCollection 代表屬於專案項目之專案輸出參考的集合。
公用介面 ISharePointProjectPackage 與 SharePoint 專案關聯的 SharePoint 封裝。
公用介面 ISharePointProjectService 代表 SharePoint 專案服務,該專案服務是 SharePoint 專案物件模型的根物件。
公用介面 ISharePointProjectStartupItem 表示可以設定為 ISharePointProject 啟動項目的項目。

列舉型別

  列舉型別 說明
公用列舉型別 AssemblyDeploymentTarget 指定專案之輸出組件的部署位置。
公用列舉型別 DeploymentType 指定要對檔案執行的部署類型。
公用列舉型別 LogCategory 指定在 [輸出] 視窗中以及在 [錯誤清單] 視窗中,顯示使用 SharePoint 記錄服務所寫入之訊息的位置。
公用列舉型別 MappedFolderType 指定 SharePoint 專案中的對應資料夾的類型。
公用列舉型別 SupportedAssemblyDeploymentTargets 列舉,表示指定 SharePoint 專案項目的所有受支援組件部署目標。
公用列舉型別 SupportedDeploymentScopes 指定可在 SharePoint 中啟動 SharePoint 專案項目的部署範圍。
公用列舉型別 SupportedTrustLevels 列舉值,指定 SharePoint 中 SharePoint 專案項目所支援的信任層級。