共用方式為


IInstalledExtension.InstallPath 屬性

副檔名為根目錄安裝位置。

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

語法

'宣告
ReadOnly Property InstallPath As String
string InstallPath { get; }
property String^ InstallPath {
    String^ get ();
}
abstract InstallPath : string with get
function get InstallPath () : String

屬性值

類型:String
安裝擴充功能所在的目錄路徑。

備註

雖然這個 API 支援擴充管理員的基礎結構,建議您不要使用它因為它有可能變更。

.NET Framework 安全性

請參閱

參考

IInstalledExtension 介面

Microsoft.VisualStudio.ExtensionManager 命名空間