IModelingProjectReader 介面

存取唯讀模式中的模型專案。

命名空間:  Microsoft.VisualStudio.ArchitectureTools.Extensibility
組件:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (在 Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll 中)

語法

'宣告
Public Interface IModelingProjectReader _
    Inherits IDisposable
public interface IModelingProjectReader : IDisposable
public interface class IModelingProjectReader : IDisposable
type IModelingProjectReader =  
    interface
        interface IDisposable
    end
public interface IModelingProjectReader extends IDisposable

IModelingProjectReader 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 DiagramFileNames 模型專案中可用之圖表檔案的名稱。
公用屬性 Store 包含已被讀取之模型的 IModelStore。

回頁首

方法

  名稱 說明
公用方法 Dispose 執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。 (繼承自 IDisposable)。
公用方法 LoadDiagram 開啟指定的圖表。圖表必須屬於此模型專案。

回頁首

擴充方法

  名稱 說明
公用擴充方法 GetLoadMessages() 多載。 取得使用 IModelingProjectReader 讀取模型時所產生的任何錯誤訊息。 (以 ModelingProjectExtensions 定義。)
公用擴充方法 GetLoadMessages<T>() 多載。 取得使用 IModelingProjectReader 讀取模型時所產生的任何錯誤訊息。 (以 ModelingProjectExtensions 定義。)

回頁首

備註

如需 UML 圖表的詳細資訊,請參閱開發軟體設計的模型

如需使用 UML API 的詳細資訊,請參閱 擴充 UML 模型與圖表

請參閱

參考

Microsoft.VisualStudio.ArchitectureTools.Extensibility 命名空間