共用方式為


ICustomAssembly 介面

代表封裝內包含的組件。

命名空間:  Microsoft.VisualStudio.SharePoint.Packages
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Public Interface ICustomAssembly _
    Inherits IAssembly, IObservableModelElement
public interface ICustomAssembly : IAssembly, 
    IObservableModelElement

ICustomAssembly 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 BindingRedirects 取得與組件關聯的繫結重新導向。 (繼承自 IAssembly)。
公用屬性 ClassResources 取得與組件關聯的類別資源檔案。 (繼承自 IAssembly)。
公用屬性 DeploymentTarget 取得或設定伺服器上部署組件的位置。 (繼承自 IAssembly)。
公用屬性 Location 取得或設定封裝內包含組件的相對位置。 (繼承自 IAssembly)。
公用屬性 SafeControls 取得與組件關聯的安全控制項。 (繼承自 IAssembly)。
公用屬性 SourcePath 取得或設定要包含在封裝中的組件名稱和路徑。這可以是絕對路徑,或相對於封裝之專案根目錄的路徑。

回頁首

事件

  名稱 說明
公用事件 PropertyChanged 發生於已變更 DSL 模型項目時。 (繼承自 IObservableModelElement)。
公用事件 PropertyChanging 發生於正在變更 DSL 模型項目時。 (繼承自 IObservableModelElement)。

回頁首

請參閱

參考

Microsoft.VisualStudio.SharePoint.Packages 命名空間