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; }
屬性值
備註
例如:
[ProvideBindingPath(SubPath="MySubDirectory")]
public class MyVsPackage : Microsoft.VisualStudio.Shell.Package
{ ... }
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。