ProvideBindingPathAttribute.SubPath 屬性
若要在 $PackageFolder$ 之後設定選擇性子路徑。 只有能夠探查的組件位於不同的目錄,比 pkgdef 檔案,這應該會使用。
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)
語法
'宣告
Public Property SubPath As String
public string SubPath { get; set; }
屬性值
備註
例如:
[ProvideBindingPath(SubPath="MySubDirectory")]
public class MyVsPackage : Microsoft.VisualStudio.Shell.Package
{ ... }
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。