Condividi tramite


PackageRegistrationAttribute.RegisterUsing Property

Definition

Gets or sets the method of registration.

public:
 property Microsoft::VisualStudio::Shell::RegistrationMethod RegisterUsing { Microsoft::VisualStudio::Shell::RegistrationMethod get(); void set(Microsoft::VisualStudio::Shell::RegistrationMethod value); };
public:
 property Microsoft::VisualStudio::Shell::RegistrationMethod RegisterUsing { Microsoft::VisualStudio::Shell::RegistrationMethod get(); void set(Microsoft::VisualStudio::Shell::RegistrationMethod value); };
public Microsoft.VisualStudio.Shell.RegistrationMethod RegisterUsing { get; set; }
member this.RegisterUsing : Microsoft.VisualStudio.Shell.RegistrationMethod with get, set
Public Property RegisterUsing As RegistrationMethod

Property Value

RegistrationMethod.

Remarks

The enumeration RegistrationMethod describes registration choices.

Enumeration Value Description
Default Should be used only by tools.
CodeBase The path to the assembly should be stored in the registry and used to locate the assembly at runtime.
Assembly The assembly should be in the GAC or in PrivateAssemblies.

The registration mode that is specified in the command line of RegPkg has precedence over the value of this property.

Applies to