Share via


PackageRegistrationAttribute.RegisterUsing Property

Gets or sets the method of registration.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Property RegisterUsing As RegistrationMethod
public RegistrationMethod RegisterUsing { get; set; }
public:
property RegistrationMethod RegisterUsing {
    RegistrationMethod get ();
    void set (RegistrationMethod value);
}
member RegisterUsing : RegistrationMethod with get, set
function get RegisterUsing () : RegistrationMethod 
function set RegisterUsing (value : RegistrationMethod)

Property Value

Type: Microsoft.VisualStudio.Shell.RegistrationMethod
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.

.NET Framework Security

See Also

Reference

PackageRegistrationAttribute Class

Microsoft.VisualStudio.Shell Namespace

Other Resources

Registering VSPackages