Partager via


ProvideBindingPathAttribute.SubPath Property

An optional SubPath to set after $PackageFolder$. This should be used if the assemblies to be probed reside in a different directory than the pkgdef file.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Property SubPath As String
public string SubPath { get; set; }
public:
property String^ SubPath {
    String^ get ();
    void set (String^ value);
}
member SubPath : string with get, set
function get SubPath () : String 
function set SubPath (value : String)

Property Value

Type: System.String

Remarks

For example:

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

.NET Framework Security

See Also

Reference

ProvideBindingPathAttribute Class

Microsoft.VisualStudio.Modeling.Shell Namespace