共用方式為


ProvideBindingPathAttribute.SubPath 屬性

要在 $PackageFolder$ 之後設定的選擇性 SubPath。 如果要探查的組件位在與 pkgdef 檔案不同的目錄,就必須使用此項目。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

語法

'宣告
Public Property SubPath As String
public string SubPath { get; set; }

屬性值

類型:System.String

備註

例如:

[ProvideBindingPath(SubPath="MySubDirectory")] 
public class MyVsPackage : Microsoft.VisualStudio.Shell.Package 
{ ... }

.NET Framework 安全性

請參閱

參考

ProvideBindingPathAttribute 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間