ProvideBindingPathAttribute Class
Registers a path that should be probed for candidate assemblies at assembly load time.
You should use ProvideCodeBaseAttribute instead of ProvideBindingPathAttribute. Registering a specific assembly location instead of a directory to probe results in better performance.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.ProvideBindingPathAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideBindingPathAttribute() | Initializes a new instance of the ProvideBindingPathAttribute class. |
| Name | Description | |
|---|---|---|
![]() | SubPath | Gets or sets an optional SubPath to set after $PackageFolder$. You can use this property if the assemblies to be probed reside in a different directory than the pkgdef file. |
![]() | TypeId | Gets the current instance of this attribute.(Inherited from RegistrationAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | Register(RegistrationAttribute.RegistrationContext) | Registers this attribute with the given context.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute.RegistrationContext) | Unregisters this attribute.(Overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext).) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
For example:
[...\VisualStudio\10.0\BindingPaths\{5C48C732-5C7F-40f0-87A7-05C4F15BC8C3}]
"$PackageFolder$"=""
This registers the PackageFolder (that is, the location of the pkgdef file) as a directory to be probed for assemblies to load.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



