ProvideBindingPathAttribute ProvideBindingPathAttribute ProvideBindingPathAttribute ProvideBindingPathAttribute ProvideBindingPathAttribute Class

Definition

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.

public ref class ProvideBindingPathAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideBindingPathAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideBindingPathAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideBindingPathAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideBindingPathAttribute
Inherits RegistrationAttribute
Inheritance
ProvideBindingPathAttributeProvideBindingPathAttributeProvideBindingPathAttributeProvideBindingPathAttributeProvideBindingPathAttribute
Attributes

Remarks

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.

Constructors

ProvideBindingPathAttribute() ProvideBindingPathAttribute() ProvideBindingPathAttribute() ProvideBindingPathAttribute() ProvideBindingPathAttribute()

Initializes a new instance of the ProvideBindingPathAttribute class.

Properties

SubPath SubPath SubPath SubPath 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 TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this attribute.

Applies to